summaryrefslogtreecommitdiff
path: root/spew/internal_test.go
diff options
context:
space:
mode:
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) {