summaryrefslogtreecommitdiff
path: root/lib/bundler/endpoint_specification.rb
diff options
context:
space:
mode:
authoreileencodes <[email protected]>2023-12-05 11:34:20 -0500
committergit <[email protected]>2023-12-05 20:47:22 +0000
commita33632e1ca7af1e3ba34cff05643aa067561a8cc (patch)
tree2053f051f43d968167bdd8fe5ba0555751908aaf /lib/bundler/endpoint_specification.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 'lib/bundler/endpoint_specification.rb')
0 files changed, 0 insertions, 0 deletions