OSDN Git Service

Keitairc::IrcBuffer no longer has 'now' method, and has
authormatusita <matusita@180c8125-5b33-4295-ad04-72a68a15b4cc>
Sun, 27 Sep 2009 15:04:14 +0000 (15:04 +0000)
committermatusita <matusita@180c8125-5b33-4295-ad04-72a68a15b4cc>
Sun, 27 Sep 2009 15:04:14 +0000 (15:04 +0000)
two methods 'format_time' and 'format_date.'

Fix test to adopt this change.

See also: lib/Keitairc/IrcBuffer.pm rev 1.22 CVS: ----------------------------------------------------------------------

t/02_IrcBuffer.t

index 0625b83..170e4d6 100644 (file)
@@ -1,5 +1,5 @@
 # -*- mode: perl; coding: utf-8 -*-
-# $Id: 02_IrcBuffer.t,v 1.2 2008-08-05 14:08:25 morimoto Exp $
+# $Id: 02_IrcBuffer.t,v 1.3 2009-09-27 15:04:14 matusita Exp $
 # $Source: /home/ishikawa/work/keitairc/tmp/keitairc/t/02_IrcBuffer.t,v $
 # Copyright (c) 2003-2008 Jun Morimoto <morimoto@mrmt.net>
 # This program is covered by the GNU General Public License 2
@@ -15,8 +15,8 @@ BEGIN{
 
 can_ok('Keitairc::IrcBuffer',
        qw/new add_nick list_nick remove_nick get_nick_realname op_nick
-       deop_nick get_nick_op channels now name2cid cid2name part join
-       mtime unread_lines topic buffer_ptr add_message
+       deop_nick get_nick_op channels format_time format_date name2cid
+       cid2name part join mtime unread_lines topic buffer_ptr add_message
        compact_channel_name simple_escape colorize update_timestamp/);
 
 # TODO: write reasonable test