annotate test/bug-38565.tst @ 20639:a260a6acb70f

fix test failures introduced by a22d8a2eb0e5 * scripts/ode/private/integrate_adaptive.m: fix stepping backwards, fix invocation of OutputFcn, fix text of some error messages * scripts/ode/private/integrate_const.m: remove use of option OutputSave * scripts/ode/private/integrate_n_steps.m: remove use of option OutputSave
author Carlo de Falco <carlo.defalco@polimi.it>
date Sun, 11 Oct 2015 23:09:01 +0200
parents b9e510a1f308
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16362
b9e510a1f308 new test for command syntax
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 %!function r = f (x)
b9e510a1f308 new test for command syntax
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 %! if (ischar (x))
b9e510a1f308 new test for command syntax
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3 %! r = x;
b9e510a1f308 new test for command syntax
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 %! else
b9e510a1f308 new test for command syntax
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 %! error ("expecting character string");
b9e510a1f308 new test for command syntax
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 %! endif
b9e510a1f308 new test for command syntax
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 %!endfunction
b9e510a1f308 new test for command syntax
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8
b9e510a1f308 new test for command syntax
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 %!assert (eval ("f 10;"), "10");