plugins/MoobotFactoids: Add a test case for broken OptionList behavior.

This commit is contained in:
James Vega 2005-10-22 19:36:38 +00:00
parent e9fd59dc45
commit 9883cb56ac

View File

@ -63,6 +63,8 @@ class OptionListTestCase(SupyTestCase):
self._testOptions('(a|)', ['a', ''])
self._testOptions('(|a)', ['a', ''])
self._testOptions('((a)|(b))', ['(a)', '(b)'])
self._testOptions('^\\%(\\%(foo\\)\\@<!.\\)*$',
['^\\%(\\%(foo\\)\\@<!.\\)*$'])
class FactoidsTestCase(ChannelPluginTestCase):
plugins = ('MoobotFactoids', 'User', 'String', 'Utilities', 'Web')