diff libinterp/corefcn/strfns.cc @ 28907:11f1207111c5

maint: Don't use semicolon at end of single-line BIST tests. * Cell.cc, colamd.cc, mappers.cc, sparse.cc, strfns.cc, sub2ind.cc, tril.cc, variables.cc, ov-cell.cc, integral3.m, quadv.m, import.m, isosurface.m, betainc.m, cosint.m, gammainc.m, native2unicode.m, bug-50014.tst, package-function.tst, static-method.tst, func.tst, if.tst, bug-51725.tst, mk-sparse-tst.sh, nest.tst, pkg.tst: Delete semicolon from end of %!assert, %!error, %!warning single-line BIST tests.
author Rik <rik@octave.org>
date Tue, 13 Oct 2020 14:23:39 -0700
parents 06c8e0877864
children c11bebb62369
line wrap: on
line diff
--- a/libinterp/corefcn/strfns.cc	Tue Oct 13 13:55:09 2020 -0700
+++ b/libinterp/corefcn/strfns.cc	Tue Oct 13 14:23:39 2020 -0700
@@ -1038,7 +1038,7 @@
 }
 
 /*
-%!assert (unicode_idx (["aäou"; "Ä∞"]), [1 2 2 3 4; 5 5 6 6 6]);
+%!assert (unicode_idx (["aäou"; "Ä∞"]), [1 2 2 3 4; 5 5 6 6 6])
 */
 
 DEFUN (__u8_validate__, args, ,
@@ -1112,7 +1112,7 @@
 %!assert (newline (), "\n")
 
 %!error newline (1)
-%!error [a, b] = newline ();
+%!error [a, b] = newline ()
 */
 
 DEFUN (list_in_columns, args, ,