From 382a64e8b742130cdaf8e9920d01f8c00939aeb1 Mon Sep 17 00:00:00 2001 From: Cedric Delamarre Date: Thu, 8 Dec 2016 10:16:44 +0100 Subject: [PATCH] [bug_8768] test fixed about typo in the checked error message Change-Id: I07f457ad65896d16751d10b440c16d1deec5f981 --- .../core/tests/nonreg_tests/bug_8768.dia.ref | 4 ++-- .../modules/core/tests/nonreg_tests/bug_8768.tst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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); -- 1.7.9.5