Skip to content

Commit

Permalink
use maxIndex variable
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent committed Dec 2, 2024
1 parent 9ae9a32 commit d7f11be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/LinearCodeAddressGenerator_test.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ fun testAddressAtIndex() {
Test.assert(maxAddress != nil)

let greaterThanMaxAddress = LinearCodeAddressGenerator.address(
at: 35184372088832,
at: maxIndex + 1,
chain: chain
)
Test.assert(greaterThanMaxAddress == nil)
Expand Down

0 comments on commit d7f11be

Please sign in to comment.