Subject: | make test fails |
Issue:
t/00_compile.t....NOK 1
# Failed test (t/00_compile.t.old at line 4)
# Tried to use 'CGI::Application::Plugin::DebugScreen'.
# Error: Can't locate object method "add_callback" via package
"main" at blib/lib/CGI/Application/Plugin/DebugScreen.pm line 145.
# BEGIN failed--compilation aborted at t/00_compile.t.old line 4.
# Looks like you failed 1 test of 1.
Solution:
--- t/00_compile.t.old 2006-01-22 16:52:11.000000000 +0100
+++ t/00_compile.t 2006-01-22 16:51:20.000000000 +0100
@@ -1,4 +1,4 @@
use strict;
use Test::More tests => 1;
-BEGIN { use_ok('CGI::Application::Plugin::DebugScreen') };
+BEGIN { require_ok('CGI::Application::Plugin::DebugScreen') };