diff options
author | Gabriel Caruso <carusogabriel34@gmail.com> | 2018-02-19 05:59:41 -0300 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2018-02-20 21:53:48 +0100 |
commit | ded3d984c6133b1f508ed84e96df3316e207c99b (patch) | |
tree | 175c208197d72966fbeb22c1df9dac0a1a33124f /ext/pdo_pgsql | |
parent | a00286921e8963d284a7a5db0c1fecffa6cb6b54 (diff) | |
download | php-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/pdo_pgsql')
-rw-r--r-- | ext/pdo_pgsql/tests/bug43925.phpt | 2 | ||||
-rw-r--r-- | ext/pdo_pgsql/tests/bug46274.phpt | 2 | ||||
-rw-r--r-- | ext/pdo_pgsql/tests/bug48764.phpt | 2 | ||||
-rw-r--r-- | ext/pdo_pgsql/tests/bug61267.phpt | 2 | ||||
-rw-r--r-- | ext/pdo_pgsql/tests/bug62593.phpt | 2 | ||||
-rw-r--r-- | ext/pdo_pgsql/tests/bug69752.phpt | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/ext/pdo_pgsql/tests/bug43925.phpt b/ext/pdo_pgsql/tests/bug43925.phpt index e22ffba041..e531a2f7d4 100644 --- a/ext/pdo_pgsql/tests/bug43925.phpt +++ b/ext/pdo_pgsql/tests/bug43925.phpt @@ -53,7 +53,7 @@ foreach ($stmt->fetchAll() as $row) { $dbh->query('DROP TABLE nodes'); ?> ---EXPECTF-- +--EXPECT-- 1 - 1 - 1 - 1 - 1 - 1 - 6 - 6 2 - 2 - 1 - 1 - 2 - 2 - 3 - 3 3 - 3 - 1 - 1 - 4 - 4 - 5 - 5 diff --git a/ext/pdo_pgsql/tests/bug46274.phpt b/ext/pdo_pgsql/tests/bug46274.phpt index 40706ecaa3..92ac6a668e 100644 --- a/ext/pdo_pgsql/tests/bug46274.phpt +++ b/ext/pdo_pgsql/tests/bug46274.phpt @@ -63,7 +63,7 @@ var_dump($res->fetch()); $db->query('DROP TABLE test_one_blob'); ?> ---EXPECTF-- +--EXPECT-- array(2) { ["blob1"]=> string(3) "foo" diff --git a/ext/pdo_pgsql/tests/bug48764.phpt b/ext/pdo_pgsql/tests/bug48764.phpt index d102a055b0..a40e453d8d 100644 --- a/ext/pdo_pgsql/tests/bug48764.phpt +++ b/ext/pdo_pgsql/tests/bug48764.phpt @@ -60,7 +60,7 @@ function bug($db, $options = array()) { } } ---EXPECTF-- +--EXPECT-- Test 1 42P18 Test 2 diff --git a/ext/pdo_pgsql/tests/bug61267.phpt b/ext/pdo_pgsql/tests/bug61267.phpt index 4214cd9be0..f91eceecdf 100644 --- a/ext/pdo_pgsql/tests/bug61267.phpt +++ b/ext/pdo_pgsql/tests/bug61267.phpt @@ -17,6 +17,6 @@ $res = $db->exec('SELECT * from generate_series(1, 42);'); var_dump($res); echo "Done\n"; ?> ---EXPECTF-- +--EXPECT-- int(0) Done diff --git a/ext/pdo_pgsql/tests/bug62593.phpt b/ext/pdo_pgsql/tests/bug62593.phpt index 4ab4566f00..1b5b3c05aa 100644 --- a/ext/pdo_pgsql/tests/bug62593.phpt +++ b/ext/pdo_pgsql/tests/bug62593.phpt @@ -58,7 +58,7 @@ foreach ($errors as $error) } echo $expect; ?> ---EXPECTF-- +--EXPECT-- bool(true) bool(false) bool(true) diff --git a/ext/pdo_pgsql/tests/bug69752.phpt b/ext/pdo_pgsql/tests/bug69752.phpt index bb7e5e87e7..e83855f218 100644 --- a/ext/pdo_pgsql/tests/bug69752.phpt +++ b/ext/pdo_pgsql/tests/bug69752.phpt @@ -51,5 +51,5 @@ for($i = 0; $i < $max; $i++) { $pdo->rollBack(); echo "done\n" ?> ---EXPECTF-- +--EXPECT-- done |