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
Copy file name to clipboardExpand all lines: .github/.golangci.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ linters:
48
48
msg: "FunctionalTestBase is deprecated. Use testcore.NewEnv(t) instead. See docs/development/testing.md for details."
49
49
- pattern: context\.Background\(\)
50
50
msg: "Avoid context.Background() in tests; use t.Context() to respect test timeouts and cancellation"
51
-
- pattern: 'assert\.\w+'
51
+
- pattern: '^(proto)?assert\.\w+$'
52
52
msg: "Use require.X / protorequire.X instead of assert.X / protoassert.X — assert doesn't stop the test on failure. assert.CollectT is still allowed for EventuallyWithT callbacks."
0 commit comments