From e589c5008130742df8826cc6774e91a211892d6a Mon Sep 17 00:00:00 2001 From: Tom Feist Date: Mon, 21 Feb 2011 03:43:03 +0000 Subject: start of a test. Only checks if things load, but that's proving hard enogh so far. --- testing/t/001-use.t | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'testing') diff --git a/testing/t/001-use.t b/testing/t/001-use.t index 60f1bb9..6ebbb5a 100755 --- a/testing/t/001-use.t +++ b/testing/t/001-use.t @@ -11,11 +11,13 @@ BEGIN { } -my $test = new_ok 'Test::Irssi'; +my $test = new_ok 'Test::Irssi', + [irssi_binary => 'null', irssi_homedir => 'null']; + my @methods = qw/logfile terminal_height terminal_width irssi_homedir irssi_binary/; -can_ok($trie, @methodss); +can_ok($test, @methods); -undef $test +undef $test; done_testing; -- cgit v1.2.3