Skip to content

Commit

Permalink
update msgAndArgs of equality assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
prettymuchbryce committed Feb 15, 2023
1 parent 4ae2ecf commit ca7706b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/capability/capability_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ func (suite *CapabilityTestSuite) TestInitializeMemStore() {
suite.Require().True(newKeeper.IsInitialized(ctx), "memstore initialized flag not set")
blockGasUsed := ctx.BlockGasMeter().GasConsumed()

suite.Require().Equal(prevBlockGas, blockGasUsed, "beginblocker consumed block gas during execution")
suite.Require().Equal(prevGas, gasUsed, "beginblocker consumed gas during execution")
suite.Require().Equal(prevBlockGas, blockGasUsed, "ensure beginblocker consumed no block gas during execution")
suite.Require().Equal(prevGas, gasUsed, "ensure beginblocker consumed no gas during execution")

// Mock the first transaction getting capability and subsequently failing
// by using a cached context and discarding all cached writes.
Expand Down

0 comments on commit ca7706b

Please sign in to comment.