summaryrefslogtreecommitdiff
path: root/ext/pgsql/tests
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-05-30 15:42:46 +0000
committerMarcus Boerger <helly@php.net>2003-05-30 15:42:46 +0000
commit3dbe16cac4fbc002c4020c12e132cda41e89bf21 (patch)
tree09597d096fad5cdc758c562510990d7cae2cc92f /ext/pgsql/tests
parent4eefb174c7edf8b01c533b425cc8f34899ba1e5f (diff)
downloadphp-git-3dbe16cac4fbc002c4020c12e132cda41e89bf21.tar.gz
Fix notice handling
Diffstat (limited to 'ext/pgsql/tests')
-rw-r--r--ext/pgsql/tests/09notice.phpt7
1 files changed, 3 insertions, 4 deletions
diff --git a/ext/pgsql/tests/09notice.phpt b/ext/pgsql/tests/09notice.phpt
index 55bbd28ed1..a2955b5c52 100644
--- a/ext/pgsql/tests/09notice.phpt
+++ b/ext/pgsql/tests/09notice.phpt
@@ -18,12 +18,11 @@ if ($msg === FALSE) {
echo "Cannot find notice message in hash\n";
var_dump($msg);
}
-echo $msg;
+echo $msg."\n";
echo "pg_last_notice() is Ok\n";
?>
---EXPECT--
-NOTICE: BEGIN: already a transaction in progress
-
+--EXPECTF--
+Notice: pg_query(): NOTICE: BEGIN: already a transaction in progress in %s on line %d
NOTICE: BEGIN: already a transaction in progress
pg_last_notice() is Ok