aboutsummaryrefslogtreecommitdiffstats
path: root/worktree_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'worktree_test.go')
-rw-r--r--worktree_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/worktree_test.go b/worktree_test.go
index c139bb7..e51e89a 100644
--- a/worktree_test.go
+++ b/worktree_test.go
@@ -1532,7 +1532,7 @@ func (s *WorktreeSuite) TestGrep(c *C) {
break
}
}
- if found != true {
+ if !found {
c.Errorf("unexpected grep results for %q, expected result to contain: %v", tc.name, wantResult)
}
}
@@ -1547,7 +1547,7 @@ func (s *WorktreeSuite) TestGrep(c *C) {
break
}
}
- if found != false {
+ if found {
c.Errorf("unexpected grep results for %q, expected result to NOT contain: %v", tc.name, dontWantResult)
}
}