Skip to content

Commit

Permalink
adjust tests
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent committed Feb 14, 2024
1 parent 7bdc282 commit 9ae90b8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions internal/test/test_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -340,19 +340,24 @@ func TestExecutingTests(t *testing.T) {
"A.0000000000000001.NonFungibleToken",
"A.0000000000000001.ViewResolver",
"A.0000000000000001.RandomBeaconHistory",
"A.0000000000000001.EVM",
"A.0000000000000002.FungibleTokenSwitchboard",
"I.BlockchainHelpers",
},
coverageReport.ExcludedLocationIDs(),
)

expected := "Coverage: 91.9% of statements"

assert.Equal(
t,
"Coverage: 91.6% of statements",
expected,
coverageReport.String(),
)
assert.Contains(
t,
result.String(),
"Coverage: 91.6% of statements",
expected,
)

lcovReport, _ := coverageReport.MarshalLCOV()
Expand Down Expand Up @@ -436,6 +441,8 @@ func TestExecutingTests(t *testing.T) {
"A.0000000000000001.NonFungibleToken",
"A.0000000000000001.ViewResolver",
"A.0000000000000001.RandomBeaconHistory",
"A.0000000000000001.EVM",
"A.0000000000000002.FungibleTokenSwitchboard",
"I.BlockchainHelpers",
},
coverageReport.ExcludedLocationIDs(),
Expand Down

0 comments on commit 9ae90b8

Please sign in to comment.