diff options
author | Kevin Newton <[email protected]> | 2024-05-24 12:48:41 -0400 |
---|---|---|
committer | git <[email protected]> | 2024-05-24 17:19:38 +0000 |
commit | f8b750370e1fc3b08d152794e39d389d9586fabe (patch) | |
tree | 59625f3ca18b086f5a2c2553c8c8e0d093bb1988 /test/prism/parse_test.rb | |
parent | 745a948b6d773c3146647ba89539ae32634283b0 (diff) |
[ruby/prism] Remove Debug module
https://github.com/ruby/prism/commit/4d8929ff6a
Diffstat (limited to 'test/prism/parse_test.rb')
-rw-r--r-- | test/prism/parse_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/prism/parse_test.rb b/test/prism/parse_test.rb index afb53e0668..5c66caebb9 100644 --- a/test/prism/parse_test.rb +++ b/test/prism/parse_test.rb @@ -265,7 +265,7 @@ module Prism # Next, assert that the newlines are in the expected places. expected_newlines = [0] source.b.scan("\n") { expected_newlines << $~.offset(0)[0] + 1 } - assert_equal expected_newlines, Debug.newlines(source) + assert_equal expected_newlines, Prism.parse(source).source.offsets if ripper_should_match # Finally, assert that we can lex the source and get the same tokens as |