mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-19 08:59:27 +01:00
Test for case-insensitivity.
This commit is contained in:
parent
0f1842b18d
commit
81ca3238f0
@ -60,6 +60,8 @@ class FunctionsTestCase(SupyTestCase):
|
||||
self.irc.nick)
|
||||
self.assertEqual(plugins.standardSubstitute(self.irc, msg, '$who'),
|
||||
msg.nick)
|
||||
self.assertEqual(plugins.standardSubstitute(self.irc, msg, '$WHO'),
|
||||
msg.nick, 'stand. sub. not case-insensitive.')
|
||||
self.assertEqual(plugins.standardSubstitute(self.irc, msg, '$nick'),
|
||||
msg.nick)
|
||||
self.assert_(plugins.standardSubstitute(self.irc, msg, '$randomdate'))
|
||||
|
Loading…
Reference in New Issue
Block a user