summaryrefslogtreecommitdiff
path: root/ext/pdo_pgsql/tests
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2018-09-16 14:16:42 -0300
committerGabriel Caruso <carusogabriel34@gmail.com>2018-10-14 12:07:20 -0300
commit9c144e0d8217d1ef7a83c2498214308b21af749f (patch)
treed977ba0d8601de477c52f62accf02c120ef06253 /ext/pdo_pgsql/tests
parentb419732ddb0673dc5b15a67ee4bc7f06dd90d7d0 (diff)
downloadphp-git-9c144e0d8217d1ef7a83c2498214308b21af749f.tar.gz
Trim trailing whitespace in tests
Diffstat (limited to 'ext/pdo_pgsql/tests')
-rw-r--r--ext/pdo_pgsql/tests/bug43925.phpt6
-rw-r--r--ext/pdo_pgsql/tests/bug75402.phpt20
2 files changed, 13 insertions, 13 deletions
diff --git a/ext/pdo_pgsql/tests/bug43925.phpt b/ext/pdo_pgsql/tests/bug43925.phpt
index e531a2f7d4..6f2d5ee0d5 100644
--- a/ext/pdo_pgsql/tests/bug43925.phpt
+++ b/ext/pdo_pgsql/tests/bug43925.phpt
@@ -31,10 +31,10 @@ $dbh->query('INSERT INTO nodes (id, root, lft, rgt) VALUES (3, 1, 4, 5);');
$stmt = $dbh->prepare('
SELECT *
FROM nodes
- WHERE (:rootId > 0 OR lft > :left OR rgt > :left)
+ WHERE (:rootId > 0 OR lft > :left OR rgt > :left)
AND (root = :rootId OR root = :left)
- AND (1 > :left OR 1 < :left OR 1 = :left)
- AND (:x > 0 OR :x < 10 OR :x > 100)
+ AND (1 > :left OR 1 < :left OR 1 = :left)
+ AND (:x > 0 OR :x < 10 OR :x > 100)
OR :y = 1 OR :left = 1
');
diff --git a/ext/pdo_pgsql/tests/bug75402.phpt b/ext/pdo_pgsql/tests/bug75402.phpt
index 4595ca93f2..8c833cced8 100644
--- a/ext/pdo_pgsql/tests/bug75402.phpt
+++ b/ext/pdo_pgsql/tests/bug75402.phpt
@@ -47,19 +47,19 @@ $db->query("INSERT INTO bug75402 (\"id\", \"group_id\", \"submitter\", \"operati
$sql = "SELECT
- ID as \"sID\",
- GROUP_ID as \"sGroupID\",
- SUBMITTER as \"sOwner\",
- OPERATION as \"sOperation\",
- DESCRIPTION as \"sInfo\",
- STAGE as \"sShortStatus\",
- STATUS as \"sStatus\",
- PROGRESS as \"sProgress\",
- HIDDEN as \"bHidden\",
+ ID as \"sID\",
+ GROUP_ID as \"sGroupID\",
+ SUBMITTER as \"sOwner\",
+ OPERATION as \"sOperation\",
+ DESCRIPTION as \"sInfo\",
+ STAGE as \"sShortStatus\",
+ STATUS as \"sStatus\",
+ PROGRESS as \"sProgress\",
+ HIDDEN as \"bHidden\",
to_char(INSERT_DATETIME, 'IYYY.MM.DD HH24:MI:SS') as \"sDatetime\"
FROM bug75402
ORDER BY INSERT_DATETIME DESC";
-
+
if ($db) {
$stmt = $db->prepare($sql,
array(