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 usage with Minitest #129

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix usage with Minitest #129

wants to merge 1 commit into from

Conversation

pimpin
Copy link

@pimpin pimpin commented Nov 16, 2023

Was raising since an upgrade of Minitest.

gems/pry-rescue-1.5.2/lib/pry-rescue/minitest.rb:7:in `<main>': uninitialized constant Minitest::Unit (NameError)

if defined?(Minitest::Test) && Minitest::Unit::VERSION.split('.').first.to_i >= 5

Was raising since an upgrade of Minitest.

```
gems/pry-rescue-1.5.2/lib/pry-rescue/minitest.rb:7:in `<main>': uninitialized constant Minitest::Unit (NameError)

if defined?(Minitest::Test) && Minitest::Unit::VERSION.split('.').first.to_i >= 5
````
@qmenoret
Copy link

👋
Had the same issue and this fixes it (fresh rails app using Minitest)
Thanks!

@chrism-nc
Copy link

Can confirm this issue with modern versions of Minitest as well

@ConradIrwin any chance of getting this merged 🙏

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.

3 participants