diff scripts/testfun/test.m @ 5681:233d98d95659

[project @ 2006-03-16 17:48:55 by dbateman]
author dbateman
date Thu, 16 Mar 2006 17:48:56 +0000
parents 2618a0750ae6
children ace8d8d26933
line wrap: on
line diff
--- a/scripts/testfun/test.m	Thu Mar 16 17:36:52 2006 +0000
+++ b/scripts/testfun/test.m	Thu Mar 16 17:48:56 2006 +0000
@@ -607,6 +607,9 @@
 
 %!error test("test", 'bogus');           # test without pattern
 
+%!test
+%! lastwarn();            # clear last warning just in case
+
 %!warning <warning message> warning('warning message')
 
 %!## test of shared variables