Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0c4660e

Browse files
committed
Fix formatting insinde the code of pg_tsdtm tap-tests.
1 parent 71c133a commit 0c4660e

File tree

1 file changed

+7
-19
lines changed

1 file changed

+7
-19
lines changed

contrib/pg_tsdtm/t/001_distributed_transactions.pl

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@ sub query_exec_async
3838
}
3939

4040
sub PostgresNode::psql_ok {
41-
my ($self, $sql, $comment) = @_;
41+
my ($self, $sql, $comment) = @_;
4242

43-
$self->command_ok(['psql', '-A', '-t', '--no-psqlrc',
44-
'-d', $self->connstr, '-c', $sql], $comment);
43+
$self->command_ok(['psql', '-A', '-t', '--no-psqlrc',
44+
'-d', $self->connstr, '-c', $sql], $comment);
4545
}
4646

4747
sub PostgresNode::psql_fails {
48-
my ($self, $sql, $comment) = @_;
48+
my ($self, $sql, $comment) = @_;
4949

50-
$self->command_ok(['psql', '-A', '-t', '--no-psqlrc',
51-
'-d', $self->connstr, '-c', $sql], $comment);
50+
$self->command_ok(['psql', '-A', '-t', '--no-psqlrc',
51+
'-d', $self->connstr, '-c', $sql], $comment);
5252
}
5353

5454
###############################################################################
@@ -221,7 +221,7 @@ sub commit_global
221221
$fail = 1 if $v1 == 101;
222222

223223
if ($v1 != 11) {
224-
print "WARNIG: behavior is stricter than in usual read commited\n"
224+
print "WARNING: behavior is stricter than in usual read committed\n";
225225
}
226226

227227
commit_global("G1b-b", $conn1b, $conn2b);
@@ -348,15 +348,3 @@ sub commit_global
348348
commit_global("PMPwp-b", $conn1b, $conn2b);
349349

350350
is($fail, 0, "Predicate-Many-Preceders for write predicates (PMPwp)");
351-
352-
353-
354-
355-
356-
357-
358-
359-
360-
361-
362-

0 commit comments

Comments
 (0)