diff options
| author | Gabriel Caruso <carusogabriel34@gmail.com> | 2018-09-16 14:16:42 -0300 |
|---|---|---|
| committer | Gabriel Caruso <carusogabriel34@gmail.com> | 2018-10-14 12:07:20 -0300 |
| commit | 9c144e0d8217d1ef7a83c2498214308b21af749f (patch) | |
| tree | d977ba0d8601de477c52f62accf02c120ef06253 /ext/pdo_oci/tests/checkliveness.phpt | |
| parent | b419732ddb0673dc5b15a67ee4bc7f06dd90d7d0 (diff) | |
| download | php-git-9c144e0d8217d1ef7a83c2498214308b21af749f.tar.gz | |
Trim trailing whitespace in tests
Diffstat (limited to 'ext/pdo_oci/tests/checkliveness.phpt')
| -rw-r--r-- | ext/pdo_oci/tests/checkliveness.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdo_oci/tests/checkliveness.phpt b/ext/pdo_oci/tests/checkliveness.phpt index a403a3929e..5f1a11ace3 100644 --- a/ext/pdo_oci/tests/checkliveness.phpt +++ b/ext/pdo_oci/tests/checkliveness.phpt @@ -19,7 +19,7 @@ $attr = getenv('PDOTEST_ATTR'); try { $db = new PDO($dsn, $user, $pass, array(PDO::ATTR_PERSISTENT => true)); -} +} catch (PDOException $e) { echo 'Connection failed: ' . $e->getMessage(); exit; @@ -28,7 +28,7 @@ catch (PDOException $e) { // This triggers the call to check liveness try { $db = new PDO($dsn, $user, $pass, array(PDO::ATTR_PERSISTENT => true)); -} +} catch (PDOException $e) { echo 'Connection failed: ' . $e->getMessage(); exit; |
