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

[email protected] Sat, 3 Jun 2006 20:01:56 -0700 (PDT)
Newsgroups perl.php.sandwich.dev
Message-ID <[email protected]>
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';