From: Cedric Delamarre Date: Thu, 8 Dec 2016 09:16:44 +0000 (+0100) Subject: [bug_8768] test fixed about typo in the checked error message X-Git-Tag: 6.0.0~322 X-Git-Url: http://gitweb.scilab.org/?p=scilab.git;a=commitdiff_plain;h=382a64e8b742130cdaf8e9920d01f8c00939aeb1 [bug_8768] test fixed about typo in the checked error message Change-Id: I07f457ad65896d16751d10b440c16d1deec5f981 --- diff --git a/scilab/modules/core/tests/nonreg_tests/bug_8768.dia.ref b/scilab/modules/core/tests/nonreg_tests/bug_8768.dia.ref index 2031b02..bda468e 100644 --- a/scilab/modules/core/tests/nonreg_tests/bug_8768.dia.ref +++ b/scilab/modules/core/tests/nonreg_tests/bug_8768.dia.ref @@ -8,13 +8,13 @@ // <-- Non-regression test for bug 8768 --> // // <-- CLI SHELL MODE --> -// +// // <-- Bugzilla URL --> // http://bugzilla.scilab.org/show_bug.cgi?id=8768 // // <-- Short Description --> // GetRhsVar(..., STRING_DATATYPE did not check size of input argument -msgerr = msprintf(_("%s: Wrong size for input argument #%d: string expected.\n"), "with_module", 1); +msgerr = msprintf(_("%s: Wrong size for input argument #%d: String expected.\n"), "with_module", 1); assert_checkerror("with_module([""ffa"", ""ff""])", msgerr); msgerr = msprintf(_("%s: Wrong size for input argument #%d: string expected.\n"), "clearfun", 1); assert_checkerror("clearfun([""myfuncA"", ""myfuncB""])", msgerr); diff --git a/scilab/modules/core/tests/nonreg_tests/bug_8768.tst b/scilab/modules/core/tests/nonreg_tests/bug_8768.tst index 0cef775..717f990 100644 --- a/scilab/modules/core/tests/nonreg_tests/bug_8768.tst +++ b/scilab/modules/core/tests/nonreg_tests/bug_8768.tst @@ -8,14 +8,14 @@ // <-- Non-regression test for bug 8768 --> // // <-- CLI SHELL MODE --> -// +// // <-- Bugzilla URL --> // http://bugzilla.scilab.org/show_bug.cgi?id=8768 // // <-- Short Description --> // GetRhsVar(..., STRING_DATATYPE did not check size of input argument -msgerr = msprintf(_("%s: Wrong size for input argument #%d: string expected.\n"), "with_module", 1); +msgerr = msprintf(_("%s: Wrong size for input argument #%d: String expected.\n"), "with_module", 1); assert_checkerror("with_module([""ffa"", ""ff""])", msgerr); msgerr = msprintf(_("%s: Wrong size for input argument #%d: string expected.\n"), "clearfun", 1);