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
Originally this was just `-m`, but was namespaced to `-testify.m` 2 years
ago, in stretchr/testify@bfe70f3
This commit updates the suite aware flag to use the namespaced version. This
will be a breaking change if you're using a testify from > 2 years ago, but
on the flip side, it's currently broken if you're using something more
recent than that!
If point is in a test that's part of a testify test suite,
go-test-current-test
fails with an error:After playing around with it, it seems to work just fine if I change
-m
to-testify.m
:Although this testify issue suggests that the correct command would be:
Where
TestThatCallsSuiteRun
is the function that callssuite.Run()
with your test suite struct type.But it seems like at least for go 1.10 and the latest version of testify, it works with just
-testify.m
without-run
.The text was updated successfully, but these errors were encountered: