comparison scripts/miscellaneous/ls_command.m @ 19630:0e1f5a750d00

maint: Periodic merge of gui-release to default.
author John W. Eaton <jwe@octave.org>
date Tue, 20 Jan 2015 10:24:46 -0500
parents d627d9c8adfd 446c46af4b42
children 4197fc428c7d
comparison
equal deleted inserted replaced
19626:37d37297acf8 19630:0e1f5a750d00
58 58
59 %!test 59 %!test
60 %! cmd = ls_command (); 60 %! cmd = ls_command ();
61 %! assert (ischar (cmd)); 61 %! assert (ischar (cmd));
62 %! if (ispc () && ! isunix ()) 62 %! if (ispc () && ! isunix ())
63 %! assert (cmd(1:3), "dir"); 63 %! assert (cmd(1:3), "dir");
64 %! else 64 %! else
65 %! assert (cmd(1:2), "ls"); 65 %! assert (cmd(1:2), "ls");
66 %! endif 66 %! endif
67 67
68 %!error <argument must be a character string> ls_command (123) 68 %!error <argument must be a character string> ls_command (123)
69 69