Added two more tests.

This commit is contained in:
Jeremy Fincher 2003-06-02 22:02:28 +00:00
parent f35c9e8d05
commit ae3623f49f

View File

@ -90,6 +90,8 @@ class FunctionsTestCase(unittest.TestCase):
self.failUnless(ircutils.isNick('jemfinch0'))
self.failUnless(ircutils.isNick('[0]'))
self.failUnless(ircutils.isNick('{jemfinch}'))
self.failUnless(ircutils.isNick('[jemfinch]'))
self.failUnless(ircutils.isNick('jem|finch'))
self.failUnless(ircutils.isNick('\\```'))
self.failIf(ircutils.isNick(''))
self.failIf(ircutils.isNick('8foo'))