diff libinterp/corefcn/data.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 96f751f8392c
children 67bb53a137e1 23520a50d74d
line wrap: on
line diff
--- a/libinterp/corefcn/data.cc	Sun Nov 27 16:58:42 2022 -0500
+++ b/libinterp/corefcn/data.cc	Sun Nov 27 17:01:00 2022 -0800
@@ -2880,8 +2880,8 @@
 %!     [a, b] = size ([1, 2; 3, 4; 5, 6], [i, j]);
 %!     assert (a, dim(i));
 %!     assert (b, dim(j));
-%!   end
-%! end
+%!   endfor
+%! endfor
 
 ## Call for three arbitrary dimensions
 
@@ -2900,9 +2900,9 @@
 %!       assert (a, dim(i));
 %!       assert (b, dim(j));
 %!       assert (c, dim(k));
-%!     end
-%!   end
-%! end
+%!     endfor
+%!   endfor
+%! endfor
 
 %!error <does not match number of requested dimensions>
 %! [a, b, c] = size ([1, 2; 3, 4; 5, 6], 1:4)