diff options
Diffstat (limited to 'test/racc')
-rw-r--r-- | test/racc/case.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/racc/case.rb b/test/racc/case.rb index f4240bfd21..d917f3a4e4 100644 --- a/test/racc/case.rb +++ b/test/racc/case.rb @@ -90,8 +90,7 @@ module Racc 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) |