summaryrefslogtreecommitdiff
path: root/t/op/length.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/length.t')
-rw-r--r--t/op/length.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/op/length.t b/t/op/length.t
index aec6a52871..46f0c59698 100644
--- a/t/op/length.t
+++ b/t/op/length.t
@@ -33,8 +33,7 @@ print "ok 3\n";
}
{
- use utf8; # make "\x{80}" to produce UTF-8
- my $a = "\x{80}";
+ my $a = qu"\x{80}"; # make "\x{80}" to produce UTF-8
print "not " unless length($a) == 1;
print "ok 6\n";