diff options
| author | Bill Johnson <[email protected]> | 2020-06-10 08:14:08 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-06-10 08:14:08 -0700 |
| commit | 0aa4171c4229535ef4247b9283732fb21867b08e (patch) | |
| tree | 6fab2ff529cc3c76962acd94fd8d1ce3e9e83024 /flag_test.go | |
| parent | b41e8b71c79e468a4b241960c1ce469a1d762f73 (diff) | |
Update flag_test.go
Diffstat (limited to 'flag_test.go')
| -rw-r--r-- | flag_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flag_test.go b/flag_test.go index 58a5d25..76535f3 100644 --- a/flag_test.go +++ b/flag_test.go @@ -408,7 +408,7 @@ func testParseWithUnknownFlags(f *FlagSet, t *testing.T) { if f.Parsed() { t.Error("f.Parse() = true before Parse") } - f.ParseErrorsWhitelist.UnknownFlags = true + f.ParseErrorsAllowlist.UnknownFlags = true f.BoolP("boola", "a", false, "bool value") f.BoolP("boolb", "b", false, "bool2 value") |
