From d735418bee02f0073a31c5c9c50b214a6ab36b5e Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Tue, 7 Jan 2025 17:37:54 +0100 Subject: [PATCH] fix duplicate var warning --- t/run.t | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/t/run.t b/t/run.t index 26d6120..e3383b8 100644 --- a/t/run.t +++ b/t/run.t @@ -796,7 +796,8 @@ foreach my $def (keys %defs) { my $cfg59 = "t/cfg.59"; my $expected59 = qq(foo "bar baz" ); # newline is important here, as we check write output -my $conf = Config::General->new(-ConfigFile => $cfg59, - -AlwaysQuoteOutput => 1); -my $got59 = $conf->save_string(); +my $conf59 = Config::General->new( + -ConfigFile => $cfg59, + -AlwaysQuoteOutput => 1); +my $got59 = $conf59->save_string(); is_deeply \$expected59, \$got59, "quotes";