Permalink
Browse files

Fix string vs. symbol bug in Ruby != 1.9.x

  • Loading branch information...
1 parent 20a77e6 commit 81e46613a3ab9a6da44c5c74865031b25ba0fd13 Alexander Kern committed May 25, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/minitest-reporter/suite_runner.rb
View
2 lib/minitest-reporter/suite_runner.rb
@@ -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

0 comments on commit 81e4661

Please sign in to comment.