perl-Compress-Raw-Zlib/Compress-Raw-Zlib-2.200-Fix-test-count-regression-in-t-07bufsize.t-16.patch
Jitka Plesnikova 8eedc6bea8 2.200 bump
2022-06-22 16:29:26 +02:00

30 lines
928 B
Diff

From 98dc5b4a2b30c26752b6f686462b06b8db72a5e4 Mon Sep 17 00:00:00 2001
From: Paul Howarth <github@trace.city-fan.org>
Date: Wed, 22 Jun 2022 09:45:11 +0100
Subject: [PATCH] Fix test count regression in t/07bufsize.t (#16)
Commit 8af98773 (zlib-ng support) changed the test count from 288 to
280. However, the number of tests did not actually change. There are
two initial tests prior to a loop of 13 iterations containing 22 tests
per iteration. Hence the total number of tests is 2+13*22 = 288.
---
t/07bufsize.t | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/07bufsize.t b/t/07bufsize.t
index abdb87c..d9af9a1 100644
--- a/t/07bufsize.t
+++ b/t/07bufsize.t
@@ -24,7 +24,7 @@ BEGIN
$extra = 1
if eval { require Test::NoWarnings ; import Test::NoWarnings; 1 };
- plan tests => 280 + $extra ;
+ plan tests => 288 + $extra ;
use_ok('Compress::Raw::Zlib', 2) ;
}
--
2.35.3