Test::Class runs test subs in alphabetical order, so we do too.
authorAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>
Sun, 22 Jan 2012 15:07:07 +0000 (10:07 -0500)
committerAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>
Sun, 22 Jan 2012 15:44:50 +0000 (10:44 -0500)
t/cvs.t

diff --git a/t/cvs.t b/t/cvs.t
index d34d409998953c9526442e679a7c6b1e0734b246..cfc33261f70ce0333ecd1af82b712af31cbb4d4f 100755 (executable)
--- a/t/cvs.t
+++ b/t/cvs.t
@@ -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 {