mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 07:34:08 +01:00
Added test to make sure overlong regexps don't slip through.
This commit is contained in:
parent
3aa6faa82a
commit
35df9e1cfa
@ -86,4 +86,7 @@ class UtilitiesTestCase(PluginTestCase, PluginDocumentation):
|
||||
self.assertResponse('re s/\b(\w+)\b/\1./g foo bar baz',
|
||||
'foo. bar. baz.')
|
||||
|
||||
def testNotOverlongRe(self):
|
||||
self.assertError('re [strjoin "" s/./ [eval \'xxx\'*400]] blah blah')
|
||||
|
||||
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
||||
|
Loading…
Reference in New Issue
Block a user