~singpolyma/dhall-ruby

04cacf5824c9d30193f8237c47b3377381adb9c8 — Stephen Paul Weber 2 years ago d4e314e
Fix expectations for tests
1 files changed, 6 insertions(+), 1 deletions(-)

M test/test_resolve.rb
M test/test_resolve.rb => test/test_resolve.rb +6 -1
@@ 373,7 373,12 @@ class TestResolve < Minitest::Test
				"master/tests/import/data/referentiallyOpaque.dhall"
			).to_return(status: 200, body: "env:HOME as Text")

			assert_raises Dhall::ImportFailedException do
			e = if test =~ /hashMismatch/
				Dhall::Import::IntegrityCheck::FailureException
			else
				Dhall::ImportFailedException
			end
			assert_raises e do
				Dhall::Parser.parse_file(path).value.resolve(
					relative_to: Dhall::Import::Path.from_string(path)
				).sync