~singpolyma/dhall-ruby

8625f0807848525682f2d015e2571bc24fe0c79e — Stephen Paul Weber 3 years ago 43890ae
Deprecated syntax removed, no need to skip
2 files changed, 0 insertions(+), 4 deletions(-)

M test/test_as_json.rb
M test/test_parser.rb
M test/test_as_json.rb => test/test_as_json.rb +0 -2
@@ 16,8 16,6 @@ class TestAsJson < Minitest::Test
		next if test =~ /binary-decode/
		define_method("test_#{test}") do
			skip "double as_json" if test =~ /doubleB/
			skip "deprecated syntax" if test =~ /collectionImportTypeB|annotationsB/
			skip "deprecated syntax" if test =~ /pathTerminationUnion/
			assert_equal(
				CBOR.decode(path.read),
				Dhall.from_binary(path.read).as_json

M test/test_parser.rb => test/test_parser.rb +0 -2
@@ 13,8 13,6 @@ class TestParser < Minitest::Test
	Pathname.glob(TESTS + "success/**/*A.dhall").each do |path|
		test = path.relative_path_from(TESTS).to_s.sub(/A\.dhall$/, "")
		define_method("test_#{test}") do
			skip "deprecated syntax" if test =~ /collectionImportType|annotations/
			skip "deprecated syntax" if test =~ /pathTerminationUnion/
			skip "very slow" if !ENV.key?("CI") && test =~ /largeExpression/
			match = Dhall::Parser.parse_file(path)
			assert(match)