]> granicus.if.org Git - php/commitdiff
fix tests to be able to run just .phpt's
authorAntony Dovgal <tony2001@php.net>
Tue, 8 Aug 2006 22:01:24 +0000 (22:01 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 8 Aug 2006 22:01:24 +0000 (22:01 +0000)
ext/standard/tests/array/compact.phpt
ext/standard/tests/strings/trim.phpt

index f5722ae62a408cdfaa6043da948f9203166d66b7..635d353c1e11776ca1ba2a421906d5b891132a0d 100644 (file)
@@ -14,7 +14,7 @@ $location_vars = array("c\u0327ity", "state");
 
 $result = compact("event", $location_vars);
 var_dump($result);
-
+?>
 --EXPECT--
 array(2) {
   ["event"]=>
index a69f17c6d7ad4c25a067ec89f66f078ee48e1507..b379d7d66a6f4134a521db73eb15ddebc35fc7ad 100644 (file)
@@ -22,6 +22,6 @@ $tests = <<<TESTS
 TESTS;
 
 include(dirname(__FILE__) . '/../../../../tests/quicktester.inc');
-
+?>
 --EXPECT--
 OK