aboutsummaryrefslogtreecommitdiff
path: root/src/test/perl/PostgreSQL/Test/Cluster.pm
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2025-03-17 14:07:12 +0900
committerMichael Paquier <michael@paquier.xyz>2025-03-17 14:07:12 +0900
commit3943f5cff6a66639d295a6f1922e54b79d2ab16f (patch)
tree6152a13d5e0f612e2edb2589a6dcad14d6ce62ee /src/test/perl/PostgreSQL/Test/Cluster.pm
parent19c6e92b13b2336d1db1b236457ab15d0894b506 (diff)
downloadpostgresql-3943f5cff6a66639d295a6f1922e54b79d2ab16f.tar.gz
postgresql-3943f5cff6a66639d295a6f1922e54b79d2ab16f.zip
Fix inconsistent quoting for some options in TAP tests
This commit addresses some inconsistencies with how the options of some routines from PostgreSQL/Test/ are written, mainly for init() and init_from_backup() in Cluster.pm. These are written as unquoted, except in the locations updated here. Changes extracted from a larger patch by the same author. Author: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> Discussion: https://postgr.es/m/87jz8rzf3h.fsf@wibble.ilmari.org
Diffstat (limited to 'src/test/perl/PostgreSQL/Test/Cluster.pm')
-rw-r--r--src/test/perl/PostgreSQL/Test/Cluster.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/perl/PostgreSQL/Test/Cluster.pm b/src/test/perl/PostgreSQL/Test/Cluster.pm
index 0750915a9a8..bab3f3d2dbe 100644
--- a/src/test/perl/PostgreSQL/Test/Cluster.pm
+++ b/src/test/perl/PostgreSQL/Test/Cluster.pm
@@ -1019,7 +1019,7 @@ sub init_from_backup
PostgreSQL::Test::RecursiveCopy::copypath(
$backup_path,
$data_path,
- 'filterfn' => sub {
+ filterfn => sub {
my ($path) = @_;
if ($path =~ /^pg_tblspc\/(\d+)$/
&& exists $params{tablespace_map}{$1})