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

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

From:
theory
Date:
June 3, 2006 20:02
Subject:
[svn:PHP-Sandwich] r6462 - PHP-Sandwich/trunk/t
Message ID:
20060604030156.370B4CBA47@x12.develooper.com
Author: theory
Date: Sat Jun  3 20:01:55 2006
New Revision: 6462

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

Log:
Globs are not supported, and may never be. So we'll just make it a TODO test
for now.


Modified: PHP-Sandwich/trunk/t/test_symbols.t
==============================================================================
--- PHP-Sandwich/trunk/t/test_symbols.t	(original)
+++ PHP-Sandwich/trunk/t/test_symbols.t	Sat Jun  3 20:01:55 2006
@@ -26,9 +26,12 @@
 is $output, '1, 2, 3', 'Check the array output';
 $php->clear_output;
 
-$php->eval(q/echo fread($fh, 100);/), 'Access the file handle';
-is $output, 'File handle output.', 'Check the file handle output';
-$php->clear_output;
+ok $php->eval(q/echo fread($fh, 100);/), 'Access the file handle';
+TODO: {
+    local $TODO = 'Globs not supported; use file handle objects instead';
+    is $output, 'File handle output.', 'Check the file handle output';
+    $php->clear_output;
+}
 
 ok $php->eval(q/echo $code->call();/), 'Execute the code'; # Maybe $code()?
 is $output, 'hello', 'Check the code output';



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