Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-stoeckl-mw committed Mar 7, 2020
1 parent 4df0fd3 commit 36f95cd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cmd/go-mutesting/main.go
Expand Up @@ -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"`

Expand Down Expand Up @@ -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)
}

Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit 36f95cd

Please sign in to comment.