Mercurial > hg > octave-nkf
view test/bug-38565.tst @ 20668:ba032e57fd96 stable
range.tst: Add tests for bug #45739.
* range.tst: Add tests for bug #45739.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 20 Aug 2015 06:51:30 -0700 |
parents | b9e510a1f308 |
children |
line wrap: on
line source
%!function r = f (x) %! if (ischar (x)) %! r = x; %! else %! error ("expecting character string"); %! endif %!endfunction %!assert (eval ("f 10;"), "10");