From 9fadf46324c4cfc36cc82310ca92ded38af91249 Mon Sep 17 00:00:00 2001 From: David Hill Date: Wed, 23 Nov 2016 15:24:26 -0500 Subject: travis: Use gometalinter --- spew/internal_test.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'spew/internal_test.go') 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) { -- cgit v1.2.3