Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash on unexpected method-signature in rspec describe #1239

Open
mbj opened this issue Jun 11, 2021 · 0 comments
Open

Fix crash on unexpected method-signature in rspec describe #1239

mbj opened this issue Jun 11, 2021 · 0 comments
Assignees
Labels

Comments

@mbj
Copy link
Owner

mbj commented Jun 11, 2021

describe '#@-' do
  it 'turns positive value into a negative' do
    expect(-value({ amount: 10 })).to have_attributes(amount: -10)
  end
end

This crashes the method name parser where it should not.

@mbj mbj added the bug label Jun 11, 2021
@mbj mbj self-assigned this Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant