develooper Front page | perl.php.sandwich.dev | Postings from June 2006

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

From:
theory
Date:
June 3, 2006 19:37
Subject:
[svn:PHP-Sandwich] r6460 - PHP-Sandwich/trunk/t
Message ID:
20060604023650.125D8CBA47@x12.develooper.com
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';



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About