Skip to content

Commit

Permalink
on 1.9 and 2.0 name will be a symbol, which can't dup.
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//src/minitest/dev/": change = 8503]
  • Loading branch information
zenspider committed May 7, 2013
1 parent 6ba2298 commit 2fa9185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/minitest.rb
Expand Up @@ -279,7 +279,7 @@ def self.runnables
def dup # :nodoc:
obj = self.class.new self.name

obj.name = self.name.dup
obj.name = self.name
obj.failures = self.failures.dup
obj.assertions = self.assertions

Expand Down

0 comments on commit 2fa9185

Please sign in to comment.