mirror of
https://codeberg.org/scip/Config-General.git
synced 2025-12-16 20:21:01 +01:00
fix duplicate var warning
This commit is contained in:
7
t/run.t
7
t/run.t
@@ -796,7 +796,8 @@ foreach my $def (keys %defs) {
|
|||||||
my $cfg59 = "t/cfg.59";
|
my $cfg59 = "t/cfg.59";
|
||||||
my $expected59 = qq(foo "bar baz"
|
my $expected59 = qq(foo "bar baz"
|
||||||
); # newline is important here, as we check write output
|
); # newline is important here, as we check write output
|
||||||
my $conf = Config::General->new(-ConfigFile => $cfg59,
|
my $conf59 = Config::General->new(
|
||||||
-AlwaysQuoteOutput => 1);
|
-ConfigFile => $cfg59,
|
||||||
my $got59 = $conf->save_string();
|
-AlwaysQuoteOutput => 1);
|
||||||
|
my $got59 = $conf59->save_string();
|
||||||
is_deeply \$expected59, \$got59, "quotes";
|
is_deeply \$expected59, \$got59, "quotes";
|
||||||
|
|||||||
Reference in New Issue
Block a user