Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
bugfix: fix untested case due to prefix missing
Browse files Browse the repository at this point in the history
Signed-off-by: Guangwen Feng <[email protected]>
  • Loading branch information
Guangwen Feng committed Mar 4, 2020
1 parent 7aa441b commit 17e65e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/errortypes/supernode_errors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (suite *SupernodeErrorTestSuite) TestIsUnknowError(c *check.C) {
c.Assert(IsUnknowError(*err2), check.Equals, false)
}

func (suite *SupernodeErrorTestSuite) IsPeerContinue(c *check.C) {
func (suite *SupernodeErrorTestSuite) TestIsPeerContinue(c *check.C) {
err1 := New(11, "peer continue")
err2 := New(0, "test")
c.Assert(IsPeerContinue(*err1), check.Equals, true)
Expand Down

0 comments on commit 17e65e3

Please sign in to comment.