summaryrefslogtreecommitdiff
path: root/spec/bundler/install/gems/compact_index_spec.rb
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2023-12-05 11:34:20 -0500
committergit <svn-admin@ruby-lang.org>2023-12-05 20:47:22 +0000
commita33632e1ca7af1e3ba34cff05643aa067561a8cc (patch)
tree2053f051f43d968167bdd8fe5ba0555751908aaf /spec/bundler/install/gems/compact_index_spec.rb
parent82883dc8f2343913eb9df32fda6798b2f969dfee (diff)
[ruby/prism] Fix defined with new line
It's possible to write the following and have it be valid Ruby: ``` defined?("foo" ) ``` But Prism wasn't taking the new line into account. This adds an `accept1` for a `PM_TOKEN_NEWLINE` to account for this. I've also updated the fixtures and snapshots to test this. https://github.com/ruby/prism/commit/b87f8eedc6
Diffstat (limited to 'spec/bundler/install/gems/compact_index_spec.rb')
0 files changed, 0 insertions, 0 deletions