test/validator_nil_test.rb in schemacop-2.3.2 vs test/validator_nil_test.rb in schemacop-2.4.0

- old
+ new

@@ -4,10 +4,10 @@ class ValidatorNilTest < Minitest::Test def test_basic s = Schema.new do type :nil end - assert_nil s.validate! nil + assert_nothing_raised { s.validate! nil } assert_verr { s.validate! false } end end end