Skip to content

Commit 613bd95

Browse files
committed
go-require: ignore-http-handlers flag help
1 parent ef0060e commit 613bd95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/config/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ func BindToFlags(cfg *Config, fs *flag.FlagSet) {
113113
"to ignore user defined types (over builtin bool)")
114114
fs.Var(&cfg.ExpectedActual.ExpVarPattern, "expected-actual.pattern", "regexp for expected variable name")
115115
fs.BoolVar(&cfg.GoRequire.IgnoreHTTPHandlers, "go-require.ignore-http-handlers", false,
116-
"to ignore HTTP handlers (http.HandlerFunc)")
116+
"to ignore HTTP handlers (like http.HandlerFunc)")
117117
fs.Var(&cfg.RequireError.FnPattern, "require-error.fn-pattern", "regexp for error assertions that should only be analyzed")
118118
fs.Var(NewEnumValue(suiteExtraAssertCallModeAsString, &cfg.SuiteExtraAssertCall.Mode),
119119
"suite-extra-assert-call.mode", "to require or remove extra Assert() call")

0 commit comments

Comments
 (0)