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
Maybe staticcheck considers testing.T.Skip to be a terminal statement like return or panic, and then marks the rest of the body as dead code.
That's technically true, but I think I agree with Marten - skipping a flaky test temporarily is pretty common, and one shouldn't have to delete its code or add "nolint" directives.
complains that
foo
is unused:func foo is unused (U1000)
The text was updated successfully, but these errors were encountered: