@@ -1,11 +1,11 @@ ;; (c) 2006,2007,2008,2009 Matthew Welland matt@kiatoa.com ;; ;; License GPL. -;;(expect:required in "LogFileBody" > 0 "Must be some files in the dir" #/.*/) +;; Force a warn for this test +(expect:warning in "LogFileBody" = 0 "Any warning" #/.*/) +(expect:required in "LogFileBody" > 0 "Must be some files in the dir" #/.*/) (expect:ignore in "LogFileBody" < 99 "Ignore the word error in comments" #/^\/\/.*error/) -;; Force a warn for this test -(expect:warning in "LogFileBody" = 0 "Any warning" #/.*/) (expect:error in "LogFileBody" = 0 "Any error" (list #/ERROR/ #/error/)) ;; but disallow any other errors