mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
104fb83ccd
commit
1d9f2a4504
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue