M Makefile => Makefile +1 -1
@@ 15,7 15,7 @@ test: lib/dhall/parser.citrus
bundle exec ruby -E UTF-8 test/test_suite.rb
unit: lib/dhall/parser.citrus
- bundle exec ruby -E UTF-8 test/test_suite.rb -n'/unit|import|TestReadme|TestLoad|TestAsDhall|TestResolvers|TestBinary|TestAsJson|TestCoder/'
+ bundle exec ruby -E UTF-8 test/test_suite.rb -fn'/unit|import|TestReadme|TestLoad|TestAsDhall|TestResolvers|TestBinary|TestAsJson|TestCoder/'
clean:
$(RM) lib/dhall/parser.citrus
M dhall.gemspec => dhall.gemspec +1 -0
@@ 34,6 34,7 @@ Gem::Specification.new do |spec|
spec.add_dependency "value_semantics", "~> 3.0"
spec.add_development_dependency "abnf", "~> 0.0.1"
+ spec.add_development_dependency "minitest-fail-fast", "~> 0.1.0"
spec.add_development_dependency "simplecov", "~> 0.16.1"
spec.add_development_dependency "webmock", "~> 3.5"
end
M test/test_readme.rb => test/test_readme.rb +3 -3
@@ 200,7 200,7 @@ class TestReadme < Minitest::Test
end
def test_none_reduce
- assert_equal nil, NONE.reduce(nil) { |x| x }
+ assert_nil NONE.reduce(nil) { |x| x }
end
def test_none_to_s
@@ 301,7 301,7 @@ class TestReadme < Minitest::Test
end
def test_rec_index_b_string
- assert_equal nil, REC["b"]
+ assert_nil REC["b"]
end
def test_rec_fetch_a_string
@@ 323,7 323,7 @@ class TestReadme < Minitest::Test
end
def test_rec_dig_b
- assert_equal nil, REC.dig(:b)
+ assert_nil REC.dig(:b)
end
def test_rec_slice_a