test: Fix linter issues

These are some linter issues that were found in a new version of the
linter. Let's fix them now before that linter hits our test suite.
This commit is contained in:
James Shubin
2017-09-26 19:38:53 -04:00
parent b3ef4e41bf
commit 81daf10157
8 changed files with 8 additions and 32 deletions

View File

@@ -167,10 +167,7 @@ func Run() error {
}
}()
if err := obj.Run(); err != nil {
return err
}
return nil
return obj.Run()
}
func main() {

View File

@@ -180,10 +180,7 @@ func Run() error {
}
}()
if err := obj.Run(); err != nil {
return err
}
return nil
return obj.Run()
}
func main() {