implicitlist test fixed about localization. 47/17647/2
Cedric Delamarre [Thu, 7 Jan 2016 11:27:11 +0000 (12:27 +0100)]
Change-Id: I9492e7304cc31e5293cde4a77a375b2682eeda1b

scilab/modules/ast/tests/unit_tests/implicitlist.dia.ref
scilab/modules/ast/tests/unit_tests/implicitlist.tst

index da4f7b5..23202bb 100644 (file)
@@ -102,5 +102,5 @@ checkCallOverload("1:t:%t");
 checkCallOverload("1:t:8");
 assert_checkerror("1:2:t", [], 10000);
 // extraction
-assert_checkerror("vect=1:3;vect(1:4)", gettext("Invalid index."));
-assert_checkerror("vect=1:3;vect(4:-1:1)", gettext("Invalid index."));
+assert_checkerror("vect=1:3;vect(1:4)", msprintf(gettext("Invalid index.\n")));
+assert_checkerror("vect=1:3;vect(4:-1:1)", msprintf(gettext("Invalid index.\n")));
index 5d76a3c..bc9c59b 100644 (file)
@@ -120,7 +120,7 @@ checkCallOverload("1:t:8");
 assert_checkerror("1:2:t", [], 10000);
 
 // extraction
-assert_checkerror("vect=1:3;vect(1:4)", gettext("Invalid index."));
-assert_checkerror("vect=1:3;vect(4:-1:1)", gettext("Invalid index."));
+assert_checkerror("vect=1:3;vect(1:4)", msprintf(gettext("Invalid index.\n")));
+assert_checkerror("vect=1:3;vect(4:-1:1)", msprintf(gettext("Invalid index.\n")));