diff options
author | Ori Rawlings <orirawlings@gmail.com> | 2017-12-17 20:26:53 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-17 20:26:53 -0600 |
commit | fbe632ef8d41c17caa76b6ed3f1d404e1f047299 (patch) | |
tree | 91c31e3e9978143f19087591c453a5d4f6781365 /worktree_test.go | |
parent | 757a26038e5404f94523ba07d017d1b38bcbf6dd (diff) | |
parent | 9a9f35269c31e880bc88486a5bcc13f592eace6a (diff) | |
download | go-git-fbe632ef8d41c17caa76b6ed3f1d404e1f047299.tar.gz |
Merge pull request #696 from ferhatelmas/simplify-again
*: simplication
Diffstat (limited to 'worktree_test.go')
-rw-r--r-- | worktree_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/worktree_test.go b/worktree_test.go index 36e3a08..ee9bf2f 100644 --- a/worktree_test.go +++ b/worktree_test.go @@ -1481,7 +1481,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) } } @@ -1496,7 +1496,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) } } |