source: tags/init/test/test-protocol.lisp

Last change on this file was 2, checked in by Erik Enge, 21 years ago

Initial revision

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 515 bytes
Line 
1;;;; $Id: test-protocol.lisp 2 2004-01-05 14:13:03Z eenge $
2;;;; $Source$
3
4;;;; See the LICENSE file for licensing information.
5
6(in-package :net-nittin-irc-test)
7
8(defvar *nick1* "kire")
9(defvar *nick2* "k|[]re")
10(defvar *nick3* "k^{]re")
11(defvar *chan1* "#liSP")
12
13(deftest normalize-nickname.1 (irc:normalize-nickname *nick1*) "kire")
14(deftest normalize-nickname.2 (irc:normalize-nickname *nick2*) "k\\[]re")
15(deftest normalize-nickname.3 (irc:normalize-nickname *nick3*) "k~[]re")
16
17(deftest normalize-channel-name.1 (irc:normalize-channel-name *chan1*) "#lisp")
Note: See TracBrowser for help on using the repository browser.