Skip to content

Commit 0b679e2

Browse files
committed
Show diffs
1 parent a94cdf0 commit 0b679e2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/case.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ def assert_output_unchanged(asset)
9090
actual = File.read("#{@TAB_DIR}/#{file}")
9191
result = (strip_version(expected) == strip_version(actual))
9292

93-
assert(result, "Output of test/assets/#{file}.y differed from " \
94-
"expectation. Try compiling it and diff with test/regress/#{file}.")
93+
assert(result, proc {`diff -u #{REGRESS_DIR}/#{file} #{@TAB_DIR}/#{file}`})
9594
end
9695

9796
def racc(*arg, **opt)

0 commit comments

Comments
 (0)