From fec1de6ef4b3f769ba0906cda948a3215709cd37 Mon Sep 17 00:00:00 2001 From: baude Date: Wed, 3 Jul 2019 14:35:11 -0500 Subject: trivial cleanups from golang the results of a code cleanup performed by the goland IDE. Signed-off-by: baude --- pkg/hooks/1.0.0/when_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/hooks/1.0.0') diff --git a/pkg/hooks/1.0.0/when_test.go b/pkg/hooks/1.0.0/when_test.go index 7187b297b..a749063ff 100644 --- a/pkg/hooks/1.0.0/when_test.go +++ b/pkg/hooks/1.0.0/when_test.go @@ -30,7 +30,7 @@ func TestAlways(t *testing.T) { for _, always := range []bool{true, false} { for _, or := range []bool{true, false} { for _, process := range []*rspec.Process{processStruct, nil} { - t.Run(fmt.Sprintf("always %t, or %t, has process %t", always, or, (process != nil)), func(t *testing.T) { + t.Run(fmt.Sprintf("always %t, or %t, has process %t", always, or, process != nil), func(t *testing.T) { config.Process = process when := When{Always: &always, Or: or} match, err := when.Match(config, map[string]string{}, false) -- cgit v1.2.3-54-g00ecf