lib/assert_value.rb in assert_value-1.3 vs lib/assert_value.rb in assert_value-1.3.1
- old
+ new
@@ -3,13 +3,9 @@
# make sure test/unit or minitest is loaded before assert_value
# once Ruby 1.8 support is removed, we can replace this code
# with .gemspec dependency on minitest
begin
require 'minitest/unit'
- unless defined?(Minitest) and Minitest.const_defined?("VERSION") and Minitest::VERSION >= "5.0.0"
- # older minitest versions can be combined with test/unit to support overridable command line options
- require 'test/unit'
- end
rescue LoadError
require 'test/unit'
end
# there're 3 types of test frameworks we support