mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Just to double-check that indexing checks and unique topic number checking are
done properly.
This commit is contained in:
parent
15a2b84a36
commit
9ca2732b45
@ -94,6 +94,7 @@ 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 2')
|
||||||
self.assertError('topic reorder 1 2')
|
self.assertError('topic reorder 1 2')
|
||||||
self.assertError('topic reorder 2 3 4')
|
self.assertError('topic reorder 2 3 4')
|
||||||
self.assertError('topic reorder 1 2 2')
|
self.assertError('topic reorder 1 2 2')
|
||||||
|
Loading…
Reference in New Issue
Block a user