Author: bernhard
Date: Sat Nov 29 04:04:57 2008
New Revision: 33335

Modified:
   trunk/languages/pipp/t/php/functions.t

Log:
[Pipp] add TODO for a function returning a value


Modified: trunk/languages/pipp/t/php/functions.t
==============================================================================
--- trunk/languages/pipp/t/php/functions.t      (original)
+++ trunk/languages/pipp/t/php/functions.t      Sat Nov 29 04:04:57 2008
@@ -20,7 +20,7 @@
 use FindBin;
 use lib "$FindBin::Bin/../../../../lib", "$FindBin::Bin/../../lib";
 
-use Parrot::Test tests => 7;
+use Parrot::Test tests => 8;
 
 language_output_is( 'Pipp', <<'CODE', <<'OUT', 'function with no args' );
 <?php
@@ -169,3 +169,17 @@
 12 asdf -1
 OUT
 
+language_output_is( 'Pipp', <<'CODE', <<'OUT', 'return an integer', todo => 
'not implemented yet' );
+<?php
+
+function return_100 ( )  {
+  return 100;
+}
+
+$a = return_100();
+echo "$a\n";
+
+?>
+CODE
+100
+OUT

Reply via email to