changeset 22314:a1840b139c37

dump_demos.m: Remove dummy assert function. * imshow.m: Add missing quote to title(). * dump_demos.m: Remove dummy assert function.
author Rik <rik@octave.org>
date Tue, 16 Aug 2016 11:23:49 -0700
parents 7cd75d61bbae
children 567c9d9228d4
files scripts/image/imshow.m scripts/testfun/private/dump_demos.m
diffstat 2 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/image/imshow.m	Tue Aug 16 10:29:11 2016 -0700
+++ b/scripts/image/imshow.m	Tue Aug 16 11:23:49 2016 -0700
@@ -246,7 +246,7 @@
 %! clf;
 %! imshow (rand (100, 100));
 %! colormap (jet (64));
-%! title ({"imshow with random 100x100 matrix, "colormap() makes color image"});
+%! title ({"imshow with random 100x100 matrix", "colormap() makes color image"});
 
 %!demo
 %! clf;
--- a/scripts/testfun/private/dump_demos.m	Tue Aug 16 10:29:11 2016 -0700
+++ b/scripts/testfun/private/dump_demos.m	Tue Aug 16 11:23:49 2016 -0700
@@ -289,12 +289,6 @@
 
   fprintf (fid, "\n");
 
-  ## Add dummy assert until we've removed all assert from demos
-  fdisp (fid, [
-"function assert (varargin)                                                   "
-"end                                                                          "
-]);  # End of dummy assert
-
   fprintf (fid, "\n%s\n", repmat ("%", [1, 60]));
 
 endfunction