diff scripts/strings/strrep.m @ 7411:83a8781b529d

[project @ 2008-01-22 21:52:25 by jwe]
author jwe
date Tue, 22 Jan 2008 21:52:26 +0000
parents a1dbe9d80eee
children 99b6066fccb6
line wrap: on
line diff
--- a/scripts/strings/strrep.m
+++ b/scripts/strings/strrep.m
@@ -88,3 +88,11 @@
   endif
 
 endfunction
+
+%!assert(strcmp (strrep ("This is a test string", "is", "&%$"),
+%! "Th&%$ &%$ a test string"));
+
+%!error strrep ();
+
+%!error strrep ("foo", "bar", 3, 4);
+