Skip to content

Commit

Permalink
Tests: remove some unreachable code
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnlaffan committed Dec 10, 2023
1 parent ce03253 commit 731c3ee
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 15 deletions.
4 changes: 0 additions & 4 deletions t/23-Indices.t
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,6 @@ sub test_general {
sub test_index_distribution {
my $indices_object = eval {Biodiverse::Indices->new(BASEDATA_REF => $bd)};
my $indices = $indices_object->get_indices;
# my $list_indices = $indices_object->get_list_indices;
# my $scalar_indices = $indices_object->get_scalar_indices;
use Regexp::Common;
my $RE_bound = qr/^(?:$RE{num}{real}|[+-]?Inf)$/;

INDEX:
foreach my $index (sort keys %$indices) {
Expand Down
1 change: 0 additions & 1 deletion t/26-Cluster.t
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,6 @@ sub check_matrices_differ {
}


1;

__DATA__
Expand Down
1 change: 0 additions & 1 deletion t/26-Cluster2.t
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ sub test_rw_turnover_mx {
is ($stats, \%expected, 'got expected stats for rw_turnover mx');
}

1;

__DATA__
Expand Down
1 change: 0 additions & 1 deletion t/26-RegionGrower.t
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,6 @@ sub get_site_data_newick_tree {



1;

__DATA__
Expand Down
1 change: 0 additions & 1 deletion t/28-Randomisation.t
Original file line number Diff line number Diff line change
Expand Up @@ -1982,7 +1982,6 @@ sub print_randomisation_result_set_to_fh {
}


1;

__DATA__
Expand Down
3 changes: 0 additions & 3 deletions t/28-Randomisation2.t
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,3 @@ sub test_checkpoint_cwd_check {
note "Current wd is now " . getcwd();
}
}


1;
2 changes: 0 additions & 2 deletions t/31-Remap.t
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,3 @@ sub test_remapped_element_names {
is ($remapped, $expected, $msg);
}
}

done_testing();
2 changes: 0 additions & 2 deletions t/31-RemapGuesser.t
Original file line number Diff line number Diff line change
Expand Up @@ -466,5 +466,3 @@ sub test_max_distance_ambiguous {
'got expected ambiguous matches for min distance 2'
);
}

done_testing();

0 comments on commit 731c3ee

Please sign in to comment.