From 36f95cdc5b6fe09683a8fef66da7763f50c64a5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20St=C3=B6ckl?= Date: Sat, 7 Mar 2020 18:07:13 +0100 Subject: [PATCH] Fix formatting --- cmd/go-mutesting/main.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cmd/go-mutesting/main.go b/cmd/go-mutesting/main.go index 5b45516..76df1ee 100644 --- a/cmd/go-mutesting/main.go +++ b/cmd/go-mutesting/main.go @@ -68,7 +68,7 @@ type options struct { } `group:"Exec options"` Test struct { - Recursive bool `long:"test-recursive" description:"Defines if the executer should test recursively"` + Recursive bool `long:"test-recursive" description:"Defines if the executer should test recursively"` BuildTags []string `long:"build-tags" description:"Supplies additional go build tags"` } `group:"Test options"` @@ -424,7 +424,7 @@ func mutateExec(opts *options, pkg *types.Package, file string, mutationFile str } if len(opts.Test.BuildTags) != 0 { - buildTags := "-tags=" + strings.Join(opts.Test.BuildTags, ",") + buildTags := "-tags=" + strings.Join(opts.Test.BuildTags, ",") args = append(args, buildTags) } @@ -479,8 +479,6 @@ func mutateExec(opts *options, pkg *types.Package, file string, mutationFile str var buildTags string - - execCommand.Env = append(os.Environ(), []string{ "MUTATE_CHANGED=" + mutationFile, fmt.Sprintf("MUTATE_DEBUG=%t", opts.General.Debug),