aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rwxr-xr-xtesting/t/001-use.t8
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;