summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/op/sprintf2.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/op/sprintf2.t b/t/op/sprintf2.t
index 18331672de..4969abf705 100644
--- a/t/op/sprintf2.t
+++ b/t/op/sprintf2.t
@@ -133,7 +133,7 @@ if ($Config{nvsize} == 8 &&
$Config{nvsize} == 16 &&
# 9a 99 99 99 99 99 99 99 99 99 99 99 99 99 fb 3f (LE), pack F is the NV
(pack("F", 0.1) =~ /^\x9A\x99{6}/ || # LE
- pack("F", 0.1) =~ /\x99{6}x9A$/) # BE
+ pack("F", 0.1) =~ /\x99{6}\x9A$/) # BE
) {
@hexfloat = (
[ '%a', '0', '0x1p-1' ],