Mercurial > octave
diff libinterp/corefcn/graphics.cc @ 31564:332a6ccac881 stable
maint: cleanup code in BIST tests to use Octave coding conventions.
* data.cc: Use keyword "endfor" rather than bare "end".
* file-io.cc, graphics.cc:
Remove semicolon ';' at end of "end_try_catch" keyword.
* variables.cc, bug-35448.tst, bug-53027.tst, bug-53579.tst, bug-53599.tst,
bug-53956.tst, bug-55758.tst, global.tst:
Use semicolon ';' after "global" variable declaration.
* for.tst, io.tst: Delete semicolon ';' at end of "for" loop declaration.
* struct.tst: Delete semicolon ';' at end of "function" declaration.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 27 Nov 2022 17:01:00 -0800 |
parents | 67cad4e8f866 |
children | e88a07dec498 |
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.cc Sun Nov 27 16:58:42 2022 -0500 +++ b/libinterp/corefcn/graphics.cc Sun Nov 27 17:01:00 2022 -0800 @@ -2642,7 +2642,7 @@ %! assert (get (h, "marker"), {"x"; "x"}); %! unwind_protect_cleanup %! close (hf); -%! end_unwind_protect; +%! end_unwind_protect %!error <set: number of graphics handles must match number of value rows> %! hf = figure ("visible", "off"); @@ -3619,7 +3619,7 @@ %! assert (get (hf2, "currentobject"), []); %! unwind_protect_cleanup %! close ([hf1, hf2]); -%! end_unwind_protect; +%! end_unwind_protect */ /* @@ -3637,7 +3637,7 @@ %! assert (getappdata (hax, "testdata"), hax) %! unwind_protect_cleanup %! close (hf); -%! end_unwind_protect; +%! end_unwind_protect */ void @@ -11025,7 +11025,7 @@ %! assert (get (hf, "children"), [hctx1; hax]); %! unwind_protect_cleanup %! close (hf); -%! end_unwind_protect; +%! end_unwind_protect */ // ---------------------------------------------------------------------