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: minitest--post-command regexp so verify single will work #42

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

Conversation

gcentauri
Copy link
Collaborator

Tests that contain # or : are not working correctly when running verify-single, because the regexp strips out the # and : characters and the test names no longer match up.

Its possible that this was necessary with earlier versions of Ruby/Minitest. I'm currently testing this against Minitest 5.11.3 with Ruby 2.6.3. I have not yet tested this with older versions of minitest, but I could not find anything in the changelog that specifically referenced this behavior.

Perhaps this is operating system specific? I can verify the change works for me for tests that contain a # or :: now. I'm not sure if this addresses issue #39 because the behavior there is different.

Tests that contain # or : are not working correctly when running
verify-single, because the regexp strips out the # and : characters and the
test names no longer match up.
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

1 participant