From 7039a378f9897c3b30fbbc098ef0524f56354aff Mon Sep 17 00:00:00 2001 From: Nicolas Mendoza Date: Wed, 19 Jul 2023 01:28:03 +0200 Subject: [PATCH] Hopefully make instruction slightly more correct --- t/run/locale.t | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/t/run/locale.t b/t/run/locale.t index 00334354f4..c917228937 100644 --- a/t/run/locale.t +++ b/t/run/locale.t @@ -354,6 +354,7 @@ EOF { open my $saved_stderr, ">&STDERR" or die "Can't dup STDERR: $!"; + # Comment out the following line to get error output when running the test close STDERR; { @@ -376,7 +377,7 @@ EOF EOF "LANG is used if LC_ALL, LC_NUMERIC are invalid")) { - note "To see details change this .t, do not close STDERR"; + note "To see details change '" . __FILE__ . "', to not close STDERR"; } } @@ -404,7 +405,7 @@ EOF EOF 'C locale is used if LC_ALL, LC_NUMERIC, LANG are invalid')) { - note "To see details change this .t, do not close STDERR"; + note "To see details change '" . __FILE__ . "', to not close STDERR"; } } }