Skip to content

Commit

Permalink
Merge pull request pingcap#671 from pingcap/siddontang/remove-error-c…
Browse files Browse the repository at this point in the history
…hecker

terror: remove error checker to simplify flags.
  • Loading branch information
siddontang committed Dec 3, 2015
2 parents 2eb7b31 + f706845 commit da05059
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 67 deletions.
63 changes: 0 additions & 63 deletions terror/checker.go

This file was deleted.

4 changes: 0 additions & 4 deletions terror/terror_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,4 @@ func (s *testTErrorSuite) TestErrorEqual(c *C) {
c.Assert(ErrorEqual(te1, te2), IsTrue)
c.Assert(ErrorEqual(te1, te3), IsFalse)
c.Assert(ErrorEqual(te3, te4), IsFalse)

c.Assert(nil, IsError, nil)
c.Assert(te1, IsError, te2)
c.Assert(te1, IsNotError, te3)
}

0 comments on commit da05059

Please sign in to comment.