Mercurial > octave-nkf
diff test/while.tst @ 17309:5a65b2cc9508
test: Add tests for 'end' form of 'endfor', 'endif', etc.
* test/for.tst, test/if.tst, test/jit.tst, test/switch.tst, test/try.tst,
test/unwind.tst, test/while.tst: Add tests for 'end' form of 'endfor', 'endif',
etc.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 21 Aug 2013 18:06:25 -0700 |
parents | 57fad64de019 |
children | d63878346099 |
line wrap: on
line diff
--- a/test/while.tst Wed Aug 21 17:17:16 2013 -0700 +++ b/test/while.tst Wed Aug 21 18:06:25 2013 -0700 @@ -21,7 +21,7 @@ %! while (eye (2)) %! i++; %! __printf_assert__ ("%d\n", i); -%! endwhile +%! end # "end" is part of test, check not using "endwhile" %! assert (__prog_output_assert__ ("")); %!test