changeset 33584:3fe954c2fd25

maint: merge stable to default
author Rik <rik@octave.org>
date Mon, 13 May 2024 11:41:11 -0700
parents de14d508b8f9 (current diff) 87365d404184 (diff)
children a079e8d8bef7 a56b2283959a
files
diffstat 1 files changed, 16 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/test/bug-53027/bug-53027.tst	Mon May 13 18:40:08 2024 +0200
+++ b/test/bug-53027/bug-53027.tst	Mon May 13 11:41:11 2024 -0700
@@ -25,47 +25,47 @@
 %!   clear X
 %!   assert (exist ("X"), 0);
 %! unwind_protect_cleanup
-%!   clear -global X;
+%!   clear -global X
 %!   unlink (fname);  # remove temp file
 %! end_unwind_protect
 
 %!test <*53027>
 %! [a, b] = ntest53027a ();
 %! unwind_protect
-%!   assert ([a, b], [0, 0])
+%!   assert ([a, b], [0, 0]);
 %! unwind_protect_cleanup
-%!   clear -global x;
+%!   clear -global x
 %! end_unwind_protect
 
 %!test <*53027>
 %! [a, b] = ntest53027b ();
 %! unwind_protect
-%!   assert ([a, b], [0, 0])
+%!   assert ([a, b], [0, 0]);
 %! unwind_protect_cleanup
-%!   clear -global x;
+%!   clear -global x
 %! end_unwind_protect
 
 %!test <*53027>
 %! [a, b] = ntest53027c ();
 %! unwind_protect
-%!   assert ([a, b], [0, 0])
+%!   assert ([a, b], [0, 0]);
 %! unwind_protect_cleanup
-%!   clear -global x;
+%!   clear -global x
 %! end_unwind_protect
 
 ## Previous bugs have caused segfaults when executing script twice.
 %!test <*53027>
 %! unwind_protect
 %!   gtest53027
-%!   assert (isempty (a) && isempty (c))
-%!   assert (isglobal ("a") && isglobal ("c"))
-%!   assert (! exist ("b"))
-%!   assert (isempty (xx) && ! isglobal ("xx"))
+%!   assert (isempty (a) && isempty (c));
+%!   assert (isglobal ("a") && isglobal ("c"));
+%!   assert (! exist ("b"));
+%!   assert (isempty (xx) && ! isglobal ("xx"));
 %!   gtest53027
-%!   assert (isempty (a) && isempty (c))
-%!   assert (isglobal ("a") && isglobal ("c"))
-%!   assert (! exist ("b"))
-%!   assert (isempty (xx) && ! isglobal ("xx"))
+%!   assert (isempty (a) && isempty (c));
+%!   assert (isglobal ("a") && isglobal ("c"));
+%!   assert (! exist ("b"));
+%!   assert (isempty (xx) && ! isglobal ("xx"));
 %! unwind_protect_cleanup
-%!   clear -global a b c;
+%!   clear -global a b c
 %! end_unwind_protect