Fix tests in overloading module.
[scilab.git] / scilab / modules / overloading / tests / nonreg_tests / bug_8098.tst
index 3091abd..b33d09d 100644 (file)
@@ -44,13 +44,9 @@ assert_checkequal(cumsum(r, "m", "double"), [1 1;1+s 1+s]./[s s;s^2 s]);
 // Check error
 assert_checkfalse(execstr("cumsum(r, ""toto"")"   ,"errcatch") == 0);
 refMsg = msprintf(_("%s: Wrong value for input argument #%d: Must be in the set {%s}.\n"),..
-            "cumsum",2,"""*"",""r"",""c"",""m"",1:2");
+            "cumsum",2,"""*"",""r"",""c"",""m""");
 assert_checkerror("cumsum(r, ""toto"")", refMsg);
 
-assert_checkfalse(execstr("cumsum(r, ""*"", ""toto"")"   ,"errcatch") == 0);
-refMsg = msprintf(_("%s: Wrong value for input argument #%d: ""%s"" or ""%s"" expected.\n"),"cumsum", 2, "native", "double");
-assert_checkerror("cumsum(r, ""*"", ""toto"")", refMsg);
-
 a = cumsum([1/%z %z/(1+2*%z)]);
 assert_checkequal(a, [1/%z (1+2*%z+%z^2)/(%z+2*%z^2)]);