summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-12-14 13:46:51 -0700
committerKarl Williamson <khw@cpan.org>2020-07-17 22:04:08 -0600
commit1cc44f9240d8164215b8e3a56cf671c7394e791b (patch)
tree2ae4af1dae944bc66c0113997610f9058768e072
parent39481c557611b778bea1b132f122c2991deea36b (diff)
downloadperl-1cc44f9240d8164215b8e3a56cf671c7394e791b.tar.gz
t/test.pl: Display an ESC control char as \e
-rw-r--r--t/test.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/test.pl b/t/test.pl
index c754090dde..eeba808948 100644
--- a/t/test.pl
+++ b/t/test.pl
@@ -304,7 +304,7 @@ eval 'sub re::is_regexp { ref($_[0]) eq "Regexp" }'
# keys are the codes \n etc map to, values are 2 char strings such as \n
my %backslash_escape;
-foreach my $x (split //, 'nrtfa\\\'"') {
+foreach my $x (split //, 'enrtfa\\\'"') {
$backslash_escape{ord eval "\"\\$x\""} = "\\$x";
}
# A way to display scalars containing control characters and Unicode.