diff --git a/pkg/errortypes/supernode_errors_test.go b/pkg/errortypes/supernode_errors_test.go index b5b50b9f2..c34773f17 100644 --- a/pkg/errortypes/supernode_errors_test.go +++ b/pkg/errortypes/supernode_errors_test.go @@ -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)