[data_structures] fix bug_11227 test. 44/19544/2
Adeline CARNIS [Thu, 23 Nov 2017 14:36:31 +0000 (15:36 +0100)]
test_run data_structures bug_11227

Change-Id: Icd0c7b3587454f14a32b0e3fb52c830a4704b5cc

scilab/modules/data_structures/tests/nonreg_tests/bug_11227.dia.ref
scilab/modules/data_structures/tests/nonreg_tests/bug_11227.tst

index 4d2787f..301884c 100644 (file)
@@ -18,6 +18,6 @@ a("toto%")=2;
 assert_checkequal(a("toto%"), 2);
 clear a
 // Non-existing field name
-refMsg = msprintf(gettext("Field ""%s"" does not exists\n"),"toto");
+refMsg = msprintf(gettext("Field \""%ls\"" does not exists\n"),"toto");
 a = struct();
 assert_checkerror("a(""toto"")", refMsg);
index 571006b..2c9953f 100644 (file)
@@ -23,6 +23,6 @@ assert_checkequal(a("toto%"), 2);
 clear a
 
 // Non-existing field name
-refMsg = msprintf(gettext("Field ""%s"" does not exists\n"),"toto");
+refMsg = msprintf(gettext("Field \""%ls\"" does not exists\n"),"toto");
 a = struct();
 assert_checkerror("a(""toto"")", refMsg);