summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/t/002_api.pl
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-05-12 15:17:30 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2022-05-12 15:17:30 -0400
commit23e7b38bfe396f919fdb66057174d29e17086418 (patch)
tree335c3962ef8afe0f6193d0413dbc51642276b147 /src/interfaces/libpq/t/002_api.pl
parent93909599cdba64c8759d646983c0a4ef93de1e50 (diff)
Pre-beta mechanical code beautification.
Run pgindent, pgperltidy, and reformat-dat-files. I manually fixed a couple of comments that pgindent uglified.
Diffstat (limited to 'src/interfaces/libpq/t/002_api.pl')
-rw-r--r--src/interfaces/libpq/t/002_api.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/interfaces/libpq/t/002_api.pl b/src/interfaces/libpq/t/002_api.pl
index 8b3355e6dd6..fa00221ae29 100644
--- a/src/interfaces/libpq/t/002_api.pl
+++ b/src/interfaces/libpq/t/002_api.pl
@@ -6,7 +6,7 @@ use PostgreSQL::Test::Utils;
use Test::More;
# Test PQsslAttribute(NULL, "library")
-my ($out, $err) = run_command(['libpq_testclient', '--ssl']);
+my ($out, $err) = run_command([ 'libpq_testclient', '--ssl' ]);
if ($ENV{with_ssl} eq 'openssl')
{
@@ -14,7 +14,9 @@ if ($ENV{with_ssl} eq 'openssl')
}
else
{
- is($err, 'SSL is not enabled', 'PQsslAttribute(NULL, "library") returns NULL');
+ is( $err,
+ 'SSL is not enabled',
+ 'PQsslAttribute(NULL, "library") returns NULL');
}
done_testing();