Skip to content

Commit 8ce5aef

Browse files
committed
Make Perl warnings fatal in newly added TAP tests
New TAP tests added by commits 9a17be1 and 4710b67 missed to convert warnings to FATAL. This commit fixes that. Author: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
1 parent 283a95d commit 8ce5aef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contrib/pg_stat_statements/t/010_restart.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# across restarts.
55

66
use strict;
7-
use warnings;
7+
use warnings FATAL => 'all';
88
use PostgreSQL::Test::Cluster;
99
use PostgreSQL::Test::Utils;
1010
use Test::More;

src/bin/pg_upgrade/t/004_subscription.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Test for pg_upgrade of logical subscription
44
use strict;
5-
use warnings;
5+
use warnings FATAL => 'all';
66

77
use File::Find qw(find);
88

0 commit comments

Comments
 (0)