diff options
| author | David Hill <[email protected]> | 2016-11-23 15:24:26 -0500 |
|---|---|---|
| committer | Dave Collins <[email protected]> | 2017-07-11 11:24:36 -0500 |
| commit | 9fadf46324c4cfc36cc82310ca92ded38af91249 (patch) | |
| tree | 7ee45c2a10640ab30ad0f169bad9c2b87d12bc16 /spew/internal_test.go | |
| parent | e250ec7f597aa5cd2c9f38b9cbf3dbc81cc1e3bb (diff) | |
travis: Use gometalinter
Diffstat (limited to 'spew/internal_test.go')
| -rw-r--r-- | spew/internal_test.go | 5 |
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) { |
