683572
From 9dfe0a3438ae69872b71b98e4fb4f4bef084983d Mon Sep 17 00:00:00 2001
683572
From: Tony Cook <tony@develop-help.com>
683572
Date: Mon, 3 Jun 2019 14:34:17 +1000
683572
Subject: [PATCH 2/2] (perl #134008) an alternative test
683572
MIME-Version: 1.0
683572
Content-Type: text/plain; charset=UTF-8
683572
Content-Transfer-Encoding: 8bit
683572
683572
Signed-off-by: Petr Písař <ppisar@redhat.com>
683572
---
683572
 t/op/sprintf2.t | 1 +
683572
 1 file changed, 1 insertion(+)
683572
683572
diff --git a/t/op/sprintf2.t b/t/op/sprintf2.t
683572
index 569bd8053d..84259a4afd 100644
683572
--- a/t/op/sprintf2.t
683572
+++ b/t/op/sprintf2.t
683572
@@ -840,6 +840,7 @@ SKIP: {
683572
 
683572
     # [rt.perl.org #134008]
683572
     is(sprintf("%.*a", -99999, 1.03125), "0x1.08p+0", "[rt.perl.org #134008]");
683572
+    is(sprintf("%.*a", -100000,0), "0x0p+0", "negative precision ignored by format_hexfp");
683572
 
683572
     # [rt.perl.org #128890]
683572
     is(sprintf("%a", 0x1.18p+0), "0x1.18p+0");
683572
-- 
683572
2.20.1
683572