summaryrefslogtreecommitdiff
path: root/ext/pgsql
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2018-02-19 05:59:41 -0300
committerNikita Popov <nikita.ppv@gmail.com>2018-02-20 21:53:48 +0100
commitded3d984c6133b1f508ed84e96df3316e207c99b (patch)
tree175c208197d72966fbeb22c1df9dac0a1a33124f /ext/pgsql
parenta00286921e8963d284a7a5db0c1fecffa6cb6b54 (diff)
downloadphp-git-ded3d984c6133b1f508ed84e96df3316e207c99b.tar.gz
Use EXPECT instead of EXPECTF when possible
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
Diffstat (limited to 'ext/pgsql')
-rw-r--r--ext/pgsql/tests/80_bug27597.phpt2
-rw-r--r--ext/pgsql/tests/bug46408.phpt2
-rw-r--r--ext/pgsql/tests/bug47199.phpt2
3 files changed, 3 insertions, 3 deletions
diff --git a/ext/pgsql/tests/80_bug27597.phpt b/ext/pgsql/tests/80_bug27597.phpt
index 7d5b5db890..df9d1c76cf 100644
--- a/ext/pgsql/tests/80_bug27597.phpt
+++ b/ext/pgsql/tests/80_bug27597.phpt
@@ -40,7 +40,7 @@ pg_close($dbh);
?>
===DONE===
---EXPECTF--
+--EXPECT--
Array
(
[id] => 0
diff --git a/ext/pgsql/tests/bug46408.phpt b/ext/pgsql/tests/bug46408.phpt
index 5803347988..eef0a9f966 100644
--- a/ext/pgsql/tests/bug46408.phpt
+++ b/ext/pgsql/tests/bug46408.phpt
@@ -21,6 +21,6 @@ pg_close($dbh);
echo "Done".PHP_EOL;
?>
---EXPECTF--
+--EXPECT--
3,5
Done
diff --git a/ext/pgsql/tests/bug47199.phpt b/ext/pgsql/tests/bug47199.phpt
index faa787fd54..622630c057 100644
--- a/ext/pgsql/tests/bug47199.phpt
+++ b/ext/pgsql/tests/bug47199.phpt
@@ -35,7 +35,7 @@ pg_close($dbh);
echo PHP_EOL."Done".PHP_EOL;
?>
---EXPECTF--
+--EXPECT--
array(2) {
[0]=>
array(2) {