Test::Class runs test subs in alphabetical order, so we do too.

master
Amitai Schlair 2012-01-22 10:07:07 -05:00
parent 88b08b5835
commit ea04eb4102
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ sub _runtests {
sub _get_matching_test_subs {
my $re = shift;
no strict 'refs';
return map { \&{*$_} } grep { /$re/ } list_module('main');
return map { \&{*$_} } grep { /$re/ } sort(list_module('main'));
}
sub _generate_test_config {