зеркало из https://github.com/github/ruby.git
[ruby/yarp] Use binary for normalizing printed ASTs
https://github.com/ruby/yarp/commit/814326de34
This commit is contained in:
Родитель
b0a3a6ade0
Коммит
585dbccb51
|
@ -21,6 +21,7 @@ class ParseTest < Test::Unit::TestCase
|
|||
# and the line breaks based on the length of the path.
|
||||
def normalize_printed(printed)
|
||||
printed
|
||||
.b
|
||||
.gsub(
|
||||
/SourceFileNode \s*
|
||||
\(\s* (\d+\.\.\.\d+) \s*\) \s*
|
||||
|
|
Загрузка…
Ссылка в новой задаче