Axel Beckert pushed to branch master at lintian / lintian


Commits:
2dab187d by Axel Beckert at 2022-12-22T01:56:58+01:00
Make test for generate-tag-summary more precise and properly cover all cases

See also MR !435. Thanks @pollo!

- - - - -


1 changed file:

- t/scripts/run-private-scripts.t


Changes:

=====================================
t/scripts/run-private-scripts.t
=====================================
@@ -60,7 +60,11 @@ sub t {
 }
 
 t('auto-reject-diff', qr/Found \d+ certain/);
-t('generate-tag-summary', qr/Assuming commit range to be/, qr/tags/);
+t(
+    'generate-tag-summary',
+    qr/Assuming commit range to be/,
+    qr/^No tags were added or removed$|\A\Z/
+);
 t('latest-policy-version', qr/^(\d+\.){3}/);
 
 done_testing();



View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/2dab187df35671f7ce867871fa46666ee0753912

-- 
View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/2dab187df35671f7ce867871fa46666ee0753912
You're receiving this email because of your account on salsa.debian.org.


Reply via email to