mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Applied Laurent's patch to testcase.rb to fix symbol method names
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
068ce36454
commit
fa09f2ff02
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ module Test
|
|||
# one suite, creating a new instance of the fixture for
|
||||
# each method.
|
||||
def self.suite
|
||||
method_names = public_instance_methods(true)
|
||||
method_names = public_instance_methods(true).map { |m| m.to_s }
|
||||
tests = method_names.delete_if {|method_name| method_name !~ /^test./}
|
||||
suite = TestSuite.new(name)
|
||||
tests.sort.each do
|
||||
|
|
Loading…
Add table
Reference in a new issue