Skip to content
Browse files

scilab: fix li_std_set_as_argument test (strings are returned as row …

…vector)
  • Loading branch information...
1 parent 0da07a6 commit fe609afb40adc5b6188508c38cbfd98c0a341177 @smarchetto smarchetto committed Feb 21, 2014
Showing with 3 additions and 3 deletions.
  1. +3 −3 Examples/test-suite/scilab/li_std_set_as_argument_runme.sci
View
6 Examples/test-suite/scilab/li_std_set_as_argument_runme.sci
@@ -23,13 +23,13 @@ if ~exists("iset3") | (iset3 <> [1 2 3 4 5 6]) then swigtesterror(); end
// Example of passing matrices of string as set arguments of C++ functions.");
// get a set of string {''aa'', ''bb'', ''cc'', ''dd''} with create_string_set():");
sset = create_string_set("aa bb cc dd");
-if ~exists("sset") | (sset <> ["aa"; "bb"; "cc"; "dd"]) then swigtesterror(); end
+if ~exists("sset") | (sset <> ["aa" "bb" "cc" "dd"]) then swigtesterror(); end
// get a set of string {''cc'', ''dd'', ''ee'', ''ff''} with create_string_set():");
sset2 = create_string_set("cc dd ee ff");
-if ~exists("sset2") | (sset2 <> ["cc"; "dd"; "ee"; "ff"]) then swigtesterror(); end
+if ~exists("sset2") | (sset2 <> ["cc" "dd" "ee" "ff"]) then swigtesterror(); end
// concat the two sets with concat_string_set():");
sset3 = concat_string_set(sset, sset2);
-if ~exists("sset3") | (sset3 <> ["aa"; "bb"; "cc"; "dd"; "ee"; "ff"]) then swigtesterror(); end
+if ~exists("sset3") | (sset3 <> ["aa" "bb" "cc" "dd" "ee" "ff"]) then swigtesterror(); end
exec("swigtest.quit", -1);

0 comments on commit fe609af

Please sign in to comment.
Something went wrong with that request. Please try again.