Permalink
Browse files

- Removed $DEBUG handler that detected when test/unit and minitest we…

…re both loaded. (tenderlove)

[git-p4: depot-paths = "//src/minitest/dev/": change = 8302]
  • Loading branch information...
1 parent 7b2e19d commit ca5cbf2c891ffca8bcdb1955ce632ee4ab52348a @zenspider zenspider committed Mar 18, 2013
Showing with 0 additions and 13 deletions.
  1. +0 −13 lib/minitest/unit.rb
View
@@ -1393,16 +1393,3 @@ def teardown; end
end # module MiniTest
Minitest = MiniTest # :nodoc: because ugh... I typo this all the time
-
-if $DEBUG then
- module Test # :nodoc:
- module Unit # :nodoc:
- class TestCase # :nodoc:
- def self.inherited x # :nodoc:
- # this helps me ferret out porting issues
- raise "Using minitest and test/unit in the same process: #{x}"
- end
- end
- end
- end
-end

1 comment on commit ca5cbf2

@blowmage

👍

Please sign in to comment.