mirror of
https://github.com/progval/Limnoria.git
synced 2025-04-30 07:21:10 -05: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'))
|
self.irc.feedMsg(ircmsgs.privmsg(self.irc.nick, '\x01VERSION\x01'))
|
||||||
m = self.irc.takeMsg()
|
m = self.irc.takeMsg()
|
||||||
self.failIf(m)
|
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:
|
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user