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

Lint/MixedRegexpCaptureTypes premature end of caputre #8100

Closed
fidalgo opened this issue Jun 5, 2020 · 1 comment
Closed

Lint/MixedRegexpCaptureTypes premature end of caputre #8100

fidalgo opened this issue Jun 5, 2020 · 1 comment

Comments

@fidalgo
Copy link

fidalgo commented Jun 5, 2020

I have the following expectations on a spec:

        expect(message).to match(/headers={user-agent=Firefox}/)

With debug enabled Rubocop gives me the message:
Premature end of pattern at ={user-agent=Firefox}

I would expect to not have an error here, as the expectation is passing.

@koic koic added the duplicate label Jun 5, 2020
@koic
Copy link
Member

koic commented Jun 5, 2020

Dup with #8083 and fixed by #8093.

@koic koic closed this as completed Jun 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants