mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
More tests for reorder.
This commit is contained in:
parent
8fe7d7e4e8
commit
0aa5f2e5f7
@ -94,6 +94,10 @@ class TopicTestCase(ChannelPluginTestCase, PluginDocumentation):
|
|||||||
self.assertRegexp('topic reorder 2 1 3', r'bar.*foo.*baz')
|
self.assertRegexp('topic reorder 2 1 3', r'bar.*foo.*baz')
|
||||||
self.assertRegexp('topic reorder 3 -2 1', r'baz.*foo.*bar')
|
self.assertRegexp('topic reorder 3 -2 1', r'baz.*foo.*bar')
|
||||||
self.assertError('topic reorder 0 1 2')
|
self.assertError('topic reorder 0 1 2')
|
||||||
|
self.assertError('topic reorder 1 2')
|
||||||
|
self.assertError('topic reorder 2 3 4')
|
||||||
|
self.assertError('topic reorder 1 2 2')
|
||||||
|
self.assertError('topic reorder 1 1 2 3')
|
||||||
|
|
||||||
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user