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

Avoid RSpec warnings about raise_error #685

Merged

Conversation

olleolleolle
Copy link
Contributor

@olleolleolle olleolleolle commented Dec 8, 2017

This PR avoids an RSpec warning about raise_error without any arguments.

While fixing this output warning, I found that one test which had been using a bare expectation to raise_error actually masked a NameError, just like the RSpec warning said it could.

@olleolleolle olleolleolle changed the title Actor spec: avoid RSpec warnings Actor spec: avoid RSpec warning Dec 8, 2017
@olleolleolle olleolleolle changed the title Actor spec: avoid RSpec warning Specs: avoid RSpec warnings about raise_error Dec 8, 2017
@olleolleolle olleolleolle changed the title Specs: avoid RSpec warnings about raise_error Specs: avoid RSpec warnings about raise_error - WIP Dec 8, 2017
@olleolleolle olleolleolle changed the title Specs: avoid RSpec warnings about raise_error - WIP Specs: avoid RSpec warnings about raise_error Dec 8, 2017
@olleolleolle
Copy link
Contributor Author

This fix does not change the status of the JRuby issues - those builds stall after

Concurrent::Actor

  forbids Immediate executor

@olleolleolle olleolleolle changed the title Specs: avoid RSpec warnings about raise_error Avoid RSpec warnings about raise_error Dec 8, 2017
@ghost ghost assigned pitr-ch Feb 21, 2018
@ghost ghost added the in progress label Feb 21, 2018
@pitr-ch
Copy link
Member

pitr-ch commented Feb 21, 2018

Rebased on master to rerun CI.

@pitr-ch pitr-ch merged commit fd56ba3 into ruby-concurrency:master Feb 21, 2018
@ghost ghost removed the in progress label Feb 21, 2018
@olleolleolle olleolleolle deleted the fix/avoid-rspec-actor-spec branch February 21, 2018 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants