mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-09 12:29:22 +01:00
Added a new test for the OptionList stuff to check to see if parsing is working
as expected.
This commit is contained in:
parent
f3e2e2a1ed
commit
11da098db2
@ -61,6 +61,8 @@ if sqlite is not None:
|
|||||||
[['foo','bar','baz']])
|
[['foo','bar','baz']])
|
||||||
self.assertEqual(MF.tokenize('(foo|(bar|baz))'),
|
self.assertEqual(MF.tokenize('(foo|(bar|baz))'),
|
||||||
[['foo', ['bar', 'baz']]])
|
[['foo', ['bar', 'baz']]])
|
||||||
|
self.assertEqual(MF.tokenize('(a|b (c|d))'),
|
||||||
|
[['a', ['b', ['c', 'd']]]])
|
||||||
|
|
||||||
class FactoidsTestCase(PluginTestCase, PluginDocumentation):
|
class FactoidsTestCase(PluginTestCase, PluginDocumentation):
|
||||||
plugins = ('MoobotFactoids', 'User', 'Utilities')
|
plugins = ('MoobotFactoids', 'User', 'Utilities')
|
||||||
|
Loading…
Reference in New Issue
Block a user