Skip to content

Commit

Permalink
[ruby/yarp] Use binary for normalizing printed ASTs
Browse files Browse the repository at this point in the history
  • Loading branch information
kddnewton authored and matzbot committed Jun 21, 2023
1 parent b0a3a6a commit 585dbcc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/yarp/parse_test.rb
Expand Up @@ -21,6 +21,7 @@ def test_empty_string
# 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*
Expand Down

0 comments on commit 585dbcc

Please sign in to comment.