Skip to content

Commit

Permalink
indexer tests: add a coherence check to "munger" option
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbs committed May 19, 2024
1 parent a93f87e commit d1a88c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions t/mldistwatch-misc.t
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,9 @@ subtest "do not index dists without trial versions" => sub {
my $old_name = $pause->upload_author_fake(PERSON => 'Just-Testing-1.22.tar.gz');
my $new_name = $test->{munger}->($old_name);

die "test munger turned old name into old name!"
if $old_name eq $new_name;

rename($old_name, $new_name) or die "can't rename $old_name: $!";

my $result = $pause->test_reindex;
Expand Down

0 comments on commit d1a88c3

Please sign in to comment.