summaryrefslogtreecommitdiff
path: root/spew/internal_test.go
diff options
context:
space:
mode:
authorDavid Hill <[email protected]>2016-11-23 15:24:26 -0500
committerDave Collins <[email protected]>2017-07-11 11:24:36 -0500
commit9fadf46324c4cfc36cc82310ca92ded38af91249 (patch)
tree7ee45c2a10640ab30ad0f169bad9c2b87d12bc16 /spew/internal_test.go
parente250ec7f597aa5cd2c9f38b9cbf3dbc81cc1e3bb (diff)
travis: Use gometalinter
Diffstat (limited to 'spew/internal_test.go')
-rw-r--r--spew/internal_test.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/spew/internal_test.go b/spew/internal_test.go
index 20a9cfe..e312b4f 100644
--- a/spew/internal_test.go
+++ b/spew/internal_test.go
@@ -36,10 +36,7 @@ type dummyFmtState struct {
}
func (dfs *dummyFmtState) Flag(f int) bool {
- if f == int('+') {
- return true
- }
- return false
+ return f == int('+')
}
func (dfs *dummyFmtState) Precision() (int, bool) {