Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Rodriguez <[email protected]>
  • Loading branch information
DimitrisJim and crodriguezvega authored Mar 26, 2024
1 parent c58bf3d commit 236f723
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions modules/light-clients/06-solomachine/light_client_module_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func (suite *SoloMachineTestSuite) TestStatus() {
exported.Frozen,
},
{
"cannot find subject client state",
"failure: cannot find client state",
func() {
clientID = unusedSmClientID
},
Expand Down Expand Up @@ -94,7 +94,7 @@ func (suite *SoloMachineTestSuite) TestGetTimestampAtHeight() {
nil,
},
{
"failure: client not found",
"failure: cannot find client state",
func() {
clientID = unusedSmClientID
},
Expand Down Expand Up @@ -521,7 +521,7 @@ func (suite *SoloMachineTestSuite) TestVerifyMembership() {
nil,
},
{
"failure: cannot find subject client state",
"failure: cannot find client state",
func() {
clientID = unusedSmClientID
},
Expand Down Expand Up @@ -740,7 +740,7 @@ func (suite *SoloMachineTestSuite) TestVerifyNonMembership() {
nil,
},
{
"failure: cannot find subject client state",
"failure: cannot find client state",
func() {
clientID = unusedSmClientID
},
Expand Down Expand Up @@ -1037,7 +1037,7 @@ func (suite *SoloMachineTestSuite) TestUpdateState() {
fmt.Errorf("unsupported ClientMessage: %T", sm.CreateMisbehaviour()),
},
{
"failure: cannot find subject client state",
"failure: cannot find client state",
func() {
clientID = unusedSmClientID
},
Expand Down Expand Up @@ -1125,7 +1125,7 @@ func (suite *SoloMachineTestSuite) TestCheckForMisbehaviour() {
nil,
},
{
"failure: cannot find subject client state",
"failure: cannot find client state",
func() {
clientID = unusedSmClientID
},
Expand Down Expand Up @@ -1184,7 +1184,7 @@ func (suite *SoloMachineTestSuite) TestUpdateStateOnMisbehaviour() {
nil,
},
{
"failure: cannot find subject client state",
"failure: cannot find client state",
func() {
clientID = unusedSmClientID
},
Expand Down Expand Up @@ -1368,7 +1368,7 @@ func (suite *SoloMachineTestSuite) TestVerifyClientMessageHeader() {
clienttypes.ErrInvalidHeader,
},
{
"failure: cannot find subject client state",
"failure: cannot find client state",
func() {
clientID = unusedSmClientID
},
Expand Down Expand Up @@ -1614,7 +1614,7 @@ func (suite *SoloMachineTestSuite) TestVerifyClientMessageMisbehaviour() {
solomachine.ErrSignatureVerificationFailed,
},
{
"failure: cannot find subject client state",
"failure: cannot find client state",
func() {
clientID = unusedSmClientID
},
Expand Down Expand Up @@ -1674,7 +1674,7 @@ func (suite *SoloMachineTestSuite) TestLatestHeight() {
clienttypes.NewHeight(0, 1),
},
{
"failure: cannot find substitute client state",
"failure: cannot find client state",
func() {
clientID = unusedSmClientID
},
Expand Down

0 comments on commit 236f723

Please sign in to comment.