[master] 416c8d457 Preemptively reduce to legal number of decimals

Poul-Henning Kamp phk at FreeBSD.org
Mon May 31 17:13:05 UTC 2021


commit 416c8d457be950c98970c36920c25233b91e0ad5
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon May 31 14:43:59 2021 +0000

    Preemptively reduce to legal number of decimals

diff --git a/bin/varnishtest/tests/m00005.vtc b/bin/varnishtest/tests/m00005.vtc
index 970e26e8e..de5f7c4d7 100644
--- a/bin/varnishtest/tests/m00005.vtc
+++ b/bin/varnishtest/tests/m00005.vtc
@@ -113,7 +113,7 @@ client c1 {
 
 	# ---
 
-	txreq -hdr "d-real: 0.010" -hdr "b-real: 2048.99999"
+	txreq -hdr "d-real: 0.010" -hdr "b-real: 2048.999"
 	rxresp
 	expect resp.http.duration == 1000000.010
 	expect resp.http.bytes == 2560


More information about the varnish-commit mailing list