test/test_helper.rb in public_suffix-2.0.3 vs test/test_helper.rb in public_suffix-2.0.4
- old
+ new
@@ -11,9 +11,11 @@
$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
require "public_suffix"
Minitest::Unit::TestCase.class_eval do
- def assert_not_equal(exp, act, msg = nil)
- assert_operator(exp, :!=, act, msg)
- end unless method_exists?(:assert_not_equal)
+ unless method_exists?(:assert_not_equal)
+ def assert_not_equal(exp, act, msg = nil)
+ assert_operator(exp, :!=, act, msg)
+ end
+ end
end