From 81ca3238f0ff025b7ba190540cf0a3578ee35821 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sat, 21 Aug 2004 03:00:09 +0000 Subject: [PATCH] Test for case-insensitivity. --- test/test_plugins.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_plugins.py b/test/test_plugins.py index 867580e1b..a31975519 100644 --- a/test/test_plugins.py +++ b/test/test_plugins.py @@ -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'))