From f4c97c2487b06cff392d2958534e7195f79847fb Mon Sep 17 00:00:00 2001 From: Georges Varouchas Date: Mon, 9 Jun 2025 23:03:34 +0400 Subject: minor: fix typos in comments --- func_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'func_test.go') diff --git a/func_test.go b/func_test.go index 4ec1cd6..9be74fa 100644 --- a/func_test.go +++ b/func_test.go @@ -112,9 +112,9 @@ func TestFuncCompat(t *testing.T) { flagName := "fnflag" args := []string{"--fnflag", "before", "--fnflag", "err", "--fnflag", "after"} - // test behavior of standard flag.Fset with an error triggere by the callback: + // test behavior of standard flag.Fset with an error triggered by the callback: // (note: as can be seen in 'runCase()', if the callback sees "err" as a value - // for the bool flag, it will return an error) + // for the flag, it will return an error) stdFSet := flag.NewFlagSet("std test", flag.ContinueOnError) stdFSet.SetOutput(io.Discard) // suppress output -- cgit v1.2.3