You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I just started using yasnippet and noticed that minitest-mode isn't identifying my test files (test_*.rb). At first it seemed odd since it does run my tests. Then I looked at the code and noticed it can also run minitest specs, awesome! I came up with a regex for minitest-test-file-name-re that covers test_*.rb, _spec.rb, [-_]test.rb so yasnippet is on by default regardless of test file naming style. Would it be ok to change it or is there a reason behind only covering [-_]test.rb files? Cheers!
The text was updated successfully, but these errors were encountered:
I tried writing a test checking that a buffer enters minitest-mode only with file names matching the regex but couldn't figure out how to do it. Any suggestions?
Hi! I just started using yasnippet and noticed that minitest-mode isn't identifying my test files (
test_*.rb
). At first it seemed odd since it does run my tests. Then I looked at the code and noticed it can also run minitest specs, awesome! I came up with a regex forminitest-test-file-name-re
that coverstest_*.rb
,_spec.rb
,[-_]test.rb
so yasnippet is on by default regardless of test file naming style. Would it be ok to change it or is there a reason behind only covering[-_]test.rb
files? Cheers!The text was updated successfully, but these errors were encountered: