[svn:PHP-Sandwich] r6460 - PHP-Sandwich/trunk/t

[email protected] Sat, 3 Jun 2006 19:36:50 -0700 (PDT)
Newsgroups perl.php.sandwich.dev
Message-ID <[email protected]>
Author: theory
Date: Sat Jun  3 19:36:50 2006
New Revision: 6460

Modified:
   PHP-Sandwich/trunk/t/1.t

Log:
Fix warning.


Modified: PHP-Sandwich/trunk/t/1.t
==============================================================================
--- PHP-Sandwich/trunk/t/1.t	(original)
+++ PHP-Sandwich/trunk/t/1.t	Sat Jun  3 19:36:50 2006
@@ -1,6 +1,6 @@
 #!/opt/ecelerity/3rdParty/bin/perl -w
 use strict;
-use Test::More tests => 6;
+use Test::More tests => 7;
 
 BEGIN {
     use_ok 'PHP::Interpreter' or die;
@@ -12,6 +12,6 @@
 ok my $a1 = $p->call('ident', 1), "Including a PHP file and executing a function off it";
 is $a1, 1, 'We should get the proper value from the ident() function';
 eval {
-  $p->include('nonexistent.inc'), 'Add test.inc';
+    ok $p->include('nonexistent.inc'), 'Add test.inc';
 };
 is $@, "Error including nonexistent.inc\n", 'Failed includes should die';