Skip to content

Commit

Permalink
Fix string vs. symbol bug in Ruby != 1.9.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Kern committed May 25, 2011
1 parent 20a77e6 commit 81e4661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/minitest-reporter/suite_runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def suites_of_type(type)

def add_test_result(suite, test, test_runner)
self.report[suite] ||= {}
self.report[suite][test] = test_runner
self.report[suite][test.to_sym] = test_runner

self.assertion_count += test_runner.assertions

Expand Down

0 comments on commit 81e4661

Please sign in to comment.