mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 15:44:06 +01:00
Made to index from 1 instead of 0.
This commit is contained in:
parent
746e292693
commit
4eaec74eea
@ -80,14 +80,6 @@ class FactoidsTestCase(ChannelPluginTestCase, PluginDocumentation):
|
|||||||
self.assertRegexp('searchfactoids ke',
|
self.assertRegexp('searchfactoids ke',
|
||||||
'inkedmn.*strike|strike.*inkedmn')
|
'inkedmn.*strike|strike.*inkedmn')
|
||||||
|
|
||||||
def testNotZeroIndexed(self):
|
|
||||||
self.assertNotError('learn foo as bar')
|
|
||||||
self.assertNotRegexp('factoidinfo foo', '#0')
|
|
||||||
self.assertNotRegexp('whatis foo', '#0')
|
|
||||||
self.assertNotError('learn foo as baz')
|
|
||||||
self.assertNotRegexp('factoidinfo foo', '#0')
|
|
||||||
self.assertNotRegexp('whatis foo', '#0')
|
|
||||||
|
|
||||||
|
|
||||||
# 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