mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
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
@ -294,7 +294,9 @@ if sqlite is not None:
|
||||
self.irc.feedMsg(ircmsgs.privmsg(self.irc.nick, '\x01VERSION\x01'))
|
||||
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
Block a user