comparison test/system.tst @ 16829:f2e09c9bcb7a

system.tst: Replace removed function setstr() with char(). * test/system.tst: Replace removed function setstr() with char().
author Rik <rik@octave.org>
date Sun, 23 Jun 2013 14:54:37 -0700
parents 6fe6ac8bbfdb
children 57fad64de019
comparison
equal deleted inserted replaced
16828:ddac88d32d6a 16829:f2e09c9bcb7a
229 %% test/octave.test/system/glob-3.m 229 %% test/octave.test/system/glob-3.m
230 %!error <Invalid call to glob> glob ("foo", 1) 230 %!error <Invalid call to glob> glob ("foo", 1)
231 231
232 %% test/octave.test/system/fnmatch-1.m 232 %% test/octave.test/system/fnmatch-1.m
233 %!test 233 %!test
234 %! string_fill_char = setstr (0); 234 %! string_fill_char = char (0);
235 %! assert ((fnmatch ("a*a", {"aba"; "xxxba"; "aa"}) == [1; 0; 1] 235 %! assert ((fnmatch ("a*a", {"aba"; "xxxba"; "aa"}) == [1; 0; 1]
236 %! && fnmatch ({"a*a"; "b*b"}, "bob") 236 %! && fnmatch ({"a*a"; "b*b"}, "bob")
237 %! && fnmatch ("x[0-5]*", {"x1"; "x6"}) == [1; 0] 237 %! && fnmatch ("x[0-5]*", {"x1"; "x6"}) == [1; 0]
238 %! && fnmatch ("x[0-5]*", {"x1"; "x6"; "x001"}) == [1; 0; 1] 238 %! && fnmatch ("x[0-5]*", {"x1"; "x6"; "x001"}) == [1; 0; 1]
239 %! && fnmatch ("x???y", {"xabcy"; "xy"}) == [1; 0])); 239 %! && fnmatch ("x???y", {"xabcy"; "xy"}) == [1; 0]));