diff options
Diffstat (limited to 'testing')
-rwxr-xr-x | testing/t/001-use.t | 8 |
1 files changed, 5 insertions, 3 deletions
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; |