Commit:    7d538cf8dd41a2584c56ec4abfafd738f0fa1e31
Author:    Yasuo Ohgaki <yohg...@php.net>         Tue, 20 Aug 2013 14:25:01 
+0900
Parents:   24288eb4d119ab4f613feb5c64cf0f08ecf8d10a
Branches:  master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=7d538cf8dd41a2584c56ec4abfafd738f0fa1e31

Log:
Fixed test bug

Changed paths:
  M  ext/pgsql/tests/80_bug32223b.phpt


Diff:
diff --git a/ext/pgsql/tests/80_bug32223b.phpt 
b/ext/pgsql/tests/80_bug32223b.phpt
index 5291659..312fe46 100644
--- a/ext/pgsql/tests/80_bug32223b.phpt
+++ b/ext/pgsql/tests/80_bug32223b.phpt
@@ -37,13 +37,13 @@ begin
 end;
 ' LANGUAGE plpgsql;");
 
-$res = pg_query($dbh, 'SET client_min_messages TO NOTICE;');
+$res = pg_query(dbh, 'SET client_min_messages TO NOTICE;');
 var_dump($res);
 
 function tester() {
         $res = pg_query(dbh, 'SELECT test_notice()');
         $row = pg_fetch_row($res, 0);
-               var_dump($row);
+        var_dump($row);
         pg_free_result($res);
         if ($row[0] == 'f')
         {
@@ -58,7 +58,6 @@ pg_close(dbh);
 ===DONE===
 --EXPECTF--
 resource(%d) of type (pgsql result)
-resource(%d) of type (pgsql result)
 array(1) {
   [0]=>
   string(1) "f"


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to