Skip to content

Commit

Permalink
Add error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
irina-pereiaslavskaia committed Mar 12, 2024
1 parent 89db8a7 commit 434b99f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions itests/utilities/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,9 @@ func GetTotalWavesAmount(suite *f.BaseSuite) uint64 {
var totalWavesAmount uint64
totalWavesAmountGo := GetTotalWavesAmountGo(suite)
totalWavesAmountScala := GetTotalWavesAmountScala(suite)
if totalWavesAmountGo == totalWavesAmountScala {
totalWavesAmount = totalWavesAmountGo
totalWavesAmount = totalWavesAmountScala
if totalWavesAmountGo != totalWavesAmountScala {
require.FailNow(suite.T(), "total Waves amount Go and total Waves amount Scala are not equal")
}
return totalWavesAmount
}
Expand Down

0 comments on commit 434b99f

Please sign in to comment.