aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lib/Test/Irssi.pm
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2011-02-28 20:53:15 +0000
committerTom Feist <shabble@metavore.org>2011-02-28 20:53:15 +0000
commitfa7b4c4482f718ffbcbfe580c37f9c2f2067ec43 (patch)
tree3bc26cd3b873cd91d77067835206db27d4651e6a /testing/lib/Test/Irssi.pm
parentrefactor everything to make tests more test-like. (diff)
downloadirssi-scripts-fa7b4c4482f718ffbcbfe580c37f9c2f2067ec43.tar.gz
irssi-scripts-fa7b4c4482f718ffbcbfe580c37f9c2f2067ec43.zip
added other tests
Diffstat (limited to '')
-rw-r--r--testing/lib/Test/Irssi.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/lib/Test/Irssi.pm b/testing/lib/Test/Irssi.pm
index d776573..4e2030b 100644
--- a/testing/lib/Test/Irssi.pm
+++ b/testing/lib/Test/Irssi.pm
@@ -237,7 +237,7 @@ class Test::Irssi {
}
method summarise_test_results {
- foreach my $test ($self->completed_tests) {
+ foreach my $test (@{$self->completed_tests}) {
my $name = $test->name;
printf("Test %s\t\t-\t%s\n", $name, $test->passed?"pass":"fail");
}