diff --git a/plugins/Factoids/test.py b/plugins/Factoids/test.py index 2465a22f4..a2c1f4a1a 100644 --- a/plugins/Factoids/test.py +++ b/plugins/Factoids/test.py @@ -159,5 +159,8 @@ if sqlite: conf.supybot.plugins.Factoids.\ replyWhenInvalidCommand.setValue(orig) + def testQuoteHandling(self): + self.assertNotError('learn foo as "\\"bar\\""') + self.assertRegexp('whatis foo', r'"bar"') # vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79: