diff --git a/test/test_ircmsgs.py b/test/test_ircmsgs.py index 257ef2f1f..a37a748fe 100644 --- a/test/test_ircmsgs.py +++ b/test/test_ircmsgs.py @@ -229,5 +229,10 @@ class FunctionsTestCase(SupyTestCase): m = ircmsgs.dehalfops('#foo', ['foo', 'bar', 'baz']) self.assertEqual(str(m), 'MODE #foo -hhh foo bar :baz\r\n') + def testMode(self): + m = ircmsgs.mode('#foo', ('-b', 'foo!bar@baz')) + s = str(m) + self.assertEqual(s, 'MODE #foo -b :foo!bar@baz\r\n') + # vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: