Skip to content

Commit

Permalink
Show diffs
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed May 16, 2022
1 parent a94cdf0 commit 0b679e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/case.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ def assert_output_unchanged(asset)
actual = File.read("#{@TAB_DIR}/#{file}")
result = (strip_version(expected) == strip_version(actual))

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

def racc(*arg, **opt)
Expand Down

0 comments on commit 0b679e2

Please sign in to comment.