Permalink
Browse files

when a new indicator is added, the test data for existing indicators …

…need not be updated
  • Loading branch information...
1 parent 69cb8a6 commit 93fd47fdcad96f0f50f9b12650fccf4930a0beb6 @daxim committed Mar 31, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 t/10_analyse.t
View
@@ -466,7 +466,8 @@ foreach my $t (@tests) {
my $d=$a->d;
my $kw=$a->d->{kwalitee};
- cmp_deeply($kw, $t->{kwalitee}, "kwalitee of $t->{dist}")
+ $t->{kwalitee}{kwalitee} = ignore; # another Test::Deep import
+ cmp_deeply($kw, superhashof($t->{kwalitee}), "kwalitee of $t->{dist}")
or diag(Dumper $kw);
cmp_deeply($d->{error}, $t->{error}, "error of $t->{dist}")
or diag(Dumper $d->{error});

0 comments on commit 93fd47f

Please sign in to comment.