diff options
author | Tom Feist <shabble@metavore.org> | 2011-02-21 03:43:03 +0000 |
---|---|---|
committer | Tom Feist <shabble@metavore.org> | 2011-02-21 03:43:03 +0000 |
commit | e589c5008130742df8826cc6774e91a211892d6a (patch) | |
tree | f8c0060ae4067c90862b7bebc1bc3753b914dc56 | |
parent | moving a whole bunch of code around into a modular sort of thing. Still a bi... (diff) | |
download | irssi-scripts-e589c5008130742df8826cc6774e91a211892d6a.tar.gz irssi-scripts-e589c5008130742df8826cc6774e91a211892d6a.zip |
start of a test. Only checks if things load, but that's proving hard enogh so far.
-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; |