Adding a test to make sure that bad nesting errors out completely and doesn't

call things like addFactoid.
This commit is contained in:
Daniel DiPaolo 2003-12-19 22:37:04 +00:00
parent 29cdcfb437
commit 38b9cfadc7
1 changed files with 3 additions and 1 deletions

View File

@ -295,6 +295,8 @@ if sqlite is not None:
m = self.irc.takeMsg()
self.failIf(m)
def testAddFactoidNotCalledWithBadNestingSyntax(self):
self.assertError('re s/Error:.*/jbm is a tard/ ]')
self.assertNoResponse(' ', 3)
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: