From 65dc5f319e468361dd58e21cd9cf12014782432f Mon Sep 17 00:00:00 2001 From: Sam Therapy Date: Thu, 15 Sep 2022 12:57:18 +0200 Subject: [PATCH] Fix race condition :) Signed-off-by: Sam Therapy --- cli/cli_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cli/cli_test.go b/cli/cli_test.go index a4fbae7..e830c2f 100644 --- a/cli/cli_test.go +++ b/cli/cli_test.go @@ -3,7 +3,6 @@ package cli_test import ( - "os" "testing" "time" @@ -132,6 +131,5 @@ func FuzzFlags(f *testing.F) { args := []string{"awl", orig} //nolint:errcheck,gosec // Only make sure the program does not crash cli.ParseCLI(args, "TEST") - os.Args = args }) }