summaryrefslogtreecommitdiff
path: root/ext/pdo_sqlite
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/pdo_sqlite
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/pdo_sqlite')
-rw-r--r--ext/pdo_sqlite/tests/bug35336.phpt2
-rw-r--r--ext/pdo_sqlite/tests/bug50728.phpt2
-rw-r--r--ext/pdo_sqlite/tests/bug60104.phpt2
-rw-r--r--ext/pdo_sqlite/tests/bug66033.phpt2
-rw-r--r--ext/pdo_sqlite/tests/bug70862.phpt2
-rw-r--r--ext/pdo_sqlite/tests/bug_42589.phpt2
-rw-r--r--ext/pdo_sqlite/tests/pdo_sqlite_createcollation.phpt2
-rw-r--r--ext/pdo_sqlite/tests/pdo_sqlite_createfunction_with_flags.phpt2
-rw-r--r--ext/pdo_sqlite/tests/pdo_sqlite_transaction.phpt2
9 files changed, 9 insertions, 9 deletions
diff --git a/ext/pdo_sqlite/tests/bug35336.phpt b/ext/pdo_sqlite/tests/bug35336.phpt
index 59dbda38ba..ecb4213ad5 100644
--- a/ext/pdo_sqlite/tests/bug35336.phpt
+++ b/ext/pdo_sqlite/tests/bug35336.phpt
@@ -20,7 +20,7 @@ $rez = $a->query ("SELECT * FROM test")->fetchAll(PDO::FETCH_CLASS, 'EEE');
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
hello world
hello world
Done
diff --git a/ext/pdo_sqlite/tests/bug50728.phpt b/ext/pdo_sqlite/tests/bug50728.phpt
index 3dbbb1ffff..b00ea50cf0 100644
--- a/ext/pdo_sqlite/tests/bug50728.phpt
+++ b/ext/pdo_sqlite/tests/bug50728.phpt
@@ -12,5 +12,5 @@ try {
var_dump($e->getCode());
}
?>
---EXPECTF--
+--EXPECT--
int(14)
diff --git a/ext/pdo_sqlite/tests/bug60104.phpt b/ext/pdo_sqlite/tests/bug60104.phpt
index fd36b57b76..7a71df8c68 100644
--- a/ext/pdo_sqlite/tests/bug60104.phpt
+++ b/ext/pdo_sqlite/tests/bug60104.phpt
@@ -17,5 +17,5 @@ setUp();
setUp();
echo "done";
?>
---EXPECTF--
+--EXPECT--
done
diff --git a/ext/pdo_sqlite/tests/bug66033.phpt b/ext/pdo_sqlite/tests/bug66033.phpt
index 28da3b54bf..ebd519171a 100644
--- a/ext/pdo_sqlite/tests/bug66033.phpt
+++ b/ext/pdo_sqlite/tests/bug66033.phpt
@@ -29,5 +29,5 @@ try {
var_dump($e->getMessage());
}
?>
---EXPECTF--
+--EXPECT--
string(4) "Blah"
diff --git a/ext/pdo_sqlite/tests/bug70862.phpt b/ext/pdo_sqlite/tests/bug70862.phpt
index 3df1e4f2bd..b0b133d870 100644
--- a/ext/pdo_sqlite/tests/bug70862.phpt
+++ b/ext/pdo_sqlite/tests/bug70862.phpt
@@ -31,6 +31,6 @@ var_dump($f);
?>
+++DONE+++
---EXPECTF--
+--EXPECT--
string(0) ""
+++DONE+++
diff --git a/ext/pdo_sqlite/tests/bug_42589.phpt b/ext/pdo_sqlite/tests/bug_42589.phpt
index abd5e8cea7..de614648a7 100644
--- a/ext/pdo_sqlite/tests/bug_42589.phpt
+++ b/ext/pdo_sqlite/tests/bug_42589.phpt
@@ -18,6 +18,6 @@ $meta2 = $result->getColumnMeta(1);
var_dump(!empty($meta1['table']) && $meta1['table'] == 'test');
var_dump(!empty($meta2['table']) && $meta2['table'] == 'test');
?>
---EXPECTF--
+--EXPECT--
bool(true)
bool(true)
diff --git a/ext/pdo_sqlite/tests/pdo_sqlite_createcollation.phpt b/ext/pdo_sqlite/tests/pdo_sqlite_createcollation.phpt
index c35e3637ac..efcce00e3d 100644
--- a/ext/pdo_sqlite/tests/pdo_sqlite_createcollation.phpt
+++ b/ext/pdo_sqlite/tests/pdo_sqlite_createcollation.phpt
@@ -29,7 +29,7 @@ foreach ($result as $row) {
$db->query('DROP TABLE foobar');
?>
---EXPECTF--
+--EXPECT--
1
2
10
diff --git a/ext/pdo_sqlite/tests/pdo_sqlite_createfunction_with_flags.phpt b/ext/pdo_sqlite/tests/pdo_sqlite_createfunction_with_flags.phpt
index 70ccdd0cd3..da6f3cf0fb 100644
--- a/ext/pdo_sqlite/tests/pdo_sqlite_createfunction_with_flags.phpt
+++ b/ext/pdo_sqlite/tests/pdo_sqlite_createfunction_with_flags.phpt
@@ -26,7 +26,7 @@ foreach ($db->query('SELECT testing(name) FROM foobar') as $row) {
$db->query('DROP TABLE foobar');
?>
---EXPECTF--
+--EXPECT--
array(2) {
["testing(name)"]=>
string(3) "php"
diff --git a/ext/pdo_sqlite/tests/pdo_sqlite_transaction.phpt b/ext/pdo_sqlite/tests/pdo_sqlite_transaction.phpt
index 101cc73cb0..8cdaae16e6 100644
--- a/ext/pdo_sqlite/tests/pdo_sqlite_transaction.phpt
+++ b/ext/pdo_sqlite/tests/pdo_sqlite_transaction.phpt
@@ -24,5 +24,5 @@ var_dump($r->rowCount());
$db->query('DROP TABLE foobar');
?>
---EXPECTF--
+--EXPECT--
int(0)