Commit 50946fca authored by Felix Lechner's avatar Felix Lechner

In Test::Lintian::Output::Universal, return unique tag names.

Somehow these names were no longer unique. Perhaps that part was
dropped by code changes. This commit enables better error reporting
for tag mismatches in the test runner.

Gbp-Dch: ignore
parent c3a3400a
......@@ -57,6 +57,7 @@ BEGIN {
}
use Carp;
use List::MoreUtils qw(uniq);
use List::Util qw(all);
use Path::Tiny;
......@@ -84,7 +85,7 @@ sub get_tagnames {
my @lines = path($path)->lines_utf8({ chomp => 1 });
my @names = map { tag_name($_) } @lines;
return @names;
return uniq @names;
}
sub order {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment