~singpolyma/dhall-ruby

1adbd7971018977b6d12d9d2b62c3c48b2a468d2 — Stephen Paul Weber 3 years ago a1613a0
Update to latest dhall-lang
2 files changed, 5 insertions(+), 3 deletions(-)

M dhall-lang
M test/test_cache_key.rb
M dhall-lang => dhall-lang +1 -1
@@ 1,1 1,1 @@
Subproject commit 7ec8bac123a2dd6de52b650cc439b5c1864b2954
Subproject commit d317261da2fdf2f997e5c7d87c5b297e427581e0

M test/test_cache_key.rb => test/test_cache_key.rb +4 -2
@@ 14,9 14,11 @@ class TestCacheKey < Minitest::Test
	Pathname.glob(TESTS + "**/*A.dhall").each do |path|
		test = path.relative_path_from(TESTS).to_s.sub(/A\.dhall$/, "")
		define_method("test_#{test}") do
			skip "requires resolve" if test =~ /prelude\/|remoteSystems/

			assert_equal(
				(TESTS + "#{test}B.dhall").read.chomp,
				Dhall::Parser.parse_file(path).cache_key
				(TESTS + "#{test}B.hash").read.chomp,
				Dhall::Parser.parse_file(path).value.cache_key
			)
		end
	end