mirror of https://github.com/Mikaela/Limnoria.git
Adding a test to make sure that bad nesting errors out completely and doesn't
call things like addFactoid.
This commit is contained in:
parent
29cdcfb437
commit
38b9cfadc7
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue