summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-09-28 00:49:17 -0500
committerJesse Luehrs <doy@tozt.net>2009-09-28 00:49:17 -0500
commitf25060aeb9a68498ccb7ca2e8905ca148c5ce6fa (patch)
tree7f4ee822b09ab4854d46ab7245cebc03fcf47d20
parent0c0be8f46df81ed92033bc1071a5e4fa19b08ff9 (diff)
downloadlanguage-teco-f25060aeb9a68498ccb7ca2e8905ca148c5ce6fa.tar.gz
language-teco-f25060aeb9a68498ccb7ca2e8905ca148c5ce6fa.zip
better use_ok test
-rw-r--r--t/000-load.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/000-load.t b/t/000-load.t
index ee6d01a..d2f022d 100644
--- a/t/000-load.t
+++ b/t/000-load.t
@@ -3,5 +3,7 @@ use strict;
use warnings;
use Test::More tests => 1;
-use_ok 'Language::TECO';
+package Foo;
+::use_ok('Language::TECO')
+ or ::BAIL_OUT("couldn't load Language::TECO");