Skip to content

Commit

Permalink
I don't know why this warning didn't come up during normal testing...
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//src/minitest/dev/": change = 8176]
  • Loading branch information
zenspider committed Feb 2, 2013
1 parent a6564d1 commit 120e8c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/minitest/unit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ def initialize # :nodoc:
@report = []
@errors = @failures = @skips = 0
@verbose = false
@mutex = Mutex.new if defined?(Mutex)
@mutex = defined?(Mutex) ? Mutex.new : nil
end

def synchronize # :nodoc:
Expand Down

0 comments on commit 120e8c9

Please sign in to comment.