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}")
|
actual = File.read("#{@TAB_DIR}/#{file}")
|
||||||
result = (strip_version(expected) == strip_version(actual))
|
result = (strip_version(expected) == strip_version(actual))
|
||||||
|
|
||||||
assert(result, "Output of test/assets/#{file}.y differed from " \
|
assert(result, proc {`diff -u #{REGRESS_DIR}/#{file} #{@TAB_DIR}/#{file}`})
|
||||||
"expectation. Try compiling it and diff with test/regress/#{file}.")
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def racc(*arg, **opt)
|
def racc(*arg, **opt)
|
||||||
|
|
Loading…
Reference in a new issue