Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
hieuvubk committed Oct 25, 2022
1 parent b7d9663 commit 0ab283e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion osmoutils/store_helper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,9 @@ func (s *TestSuite) TestGetIfFound() {
s.Require().Equal(found, tc.expectFound)
if tc.expectErr {
s.Require().Error(err)
} else {
}
// make sure found by key & Unmarshal successfully
if !tc.expectErr && tc.expectFound {
s.Require().Equal(expectedValue.String(), tc.actualResultProto.String())
}
}
Expand Down

0 comments on commit 0ab283e

Please sign in to comment.