[Reproducible-commits] [strip-nondeterminism] 02/04: t/fixtures.t: Explicitly test that we can find a normalizer
Chris Lamb
chris at chris-lamb.co.uk
Sun Jul 24 22:15:57 UTC 2016
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository strip-nondeterminism.
commit 691e070c6cb6fd3c55fec1511d6c09b67982a8e4
Author: Chris Lamb <lamby at debian.org>
Date: Sun Jul 24 23:03:29 2016 +0100
t/fixtures.t: Explicitly test that we can find a normalizer
---
t/fixtures.t | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/t/fixtures.t b/t/fixtures.t
index 26f9d04..f4c42e0 100644
--- a/t/fixtures.t
+++ b/t/fixtures.t
@@ -42,8 +42,9 @@ foreach my $filename (@fixtures) {
my $normalizer = File::StripNondeterminism::get_normalizer_for_file($in);
subtest $filename => sub {
- plan tests => 1;
+ plan tests => 2;
+ isnt(undef, $normalizer, "Normalizer found for $in");
$normalizer->($in);
ok(compare($in, $out) == 0, "Got expected output");
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/strip-nondeterminism.git
More information about the Reproducible-commits
mailing list