Skip to content

Commit

Permalink
Correct test cases for check-address-checksum-test
Browse files Browse the repository at this point in the history
  • Loading branch information
spacesailor24 committed Jun 28, 2023
1 parent 2a8fe13 commit 1b0b73e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ import {checkAddressChecksum} from 'web3-utils';

// $ExpectType boolean
checkAddressChecksum('0x8ee7f17bb3f88b01247c21ab6603880b64ae53e811f5e01138822e558cf1ab51');
// $ExpectType boolean

// $ExpectError
checkAddressChecksum('0xFb6916095CA1dF60bb79CE92ce3Ea74C37c5D359', 31);
// $ExpectType boolean
// $ExpectError
checkAddressChecksum('0xFb6916095CA1dF60bb79CE92ce3Ea74C37c5D359', undefined);

// $ExpectError
checkAddressChecksum([4]);
// $ExpectError
Expand Down

0 comments on commit 1b0b73e

Please sign in to comment.