diff --git a/ChangeLog b/ChangeLog index 6bca979107..63d3cb00e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,4 @@ -Mon Nov 17 09:23:38 2003 Nobuyoshi Nakada +Mon Nov 17 09:41:38 2003 Nobuyoshi Nakada * lib/test/unit/ui/tk/testrunner.rb, lib/test/unit/ui/gtk/testrunner.rb: @@ -6,6 +6,8 @@ Mon Nov 17 09:23:38 2003 Nobuyoshi Nakada * lib/test/unit/ui/gtk2/testrunner.rb: imported from rough. + * lib/test/unit/autorunner.rb (keyword_display): sort keywords. + Sun Nov 16 18:10:57 2003 Nobuyoshi Nakada * eval.c (rb_eval): iterator should return value from next inside diff --git a/lib/test/unit/autorunner.rb b/lib/test/unit/autorunner.rb index 5dabd7e3c0..fb010d52e2 100644 --- a/lib/test/unit/autorunner.rb +++ b/lib/test/unit/autorunner.rb @@ -174,7 +174,7 @@ module Test end def keyword_display(array) - array.collect{|e| e.to_s.sub(/^(.)(.+)$/, '\\1[\\2]')}.join(", ") + array.collect{|e| e.to_s.sub(/^(.)([A-Za-z]+)(?=\w*$)/, '\\1[\\2]')}.sort.join(", ") end def run