Skip to content

Commit

Permalink
Test: terminated at null byte
Browse files Browse the repository at this point in the history
  • Loading branch information
kornrunner committed Dec 8, 2017
1 parent 1e17cb6 commit b7be0ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/SolidityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public static function sha3 (): array {
['a', '0x3ac225168df54212a25c1c01fd35bebfea408fdac2e31ddd6f80a4bbf9a5f1cb'],
[new BN('100'), '0x26700e13983fefbd9cf16da2ed70fa5c6798ac55062a4803121a869731e308d2'],
['Hello!%', '0x661136a4267dba9ccdf6bfddb7c00e714de936674c4bdb065a531cf1cb15c7fc'],
["Hello!%\u{0000}Terminated", '0x661136a4267dba9ccdf6bfddb7c00e714de936674c4bdb065a531cf1cb15c7fc'],
['234', '0x61c831beab28d67d1bb40b5ae1a11e2757fa842f031a2d0bc94a7867bc5d26c2'],
[0xea, '0x61c831beab28d67d1bb40b5ae1a11e2757fa842f031a2d0bc94a7867bc5d26c2'],
[new BN('234'), '0x61c831beab28d67d1bb40b5ae1a11e2757fa842f031a2d0bc94a7867bc5d26c2'],
Expand Down

0 comments on commit b7be0ce

Please sign in to comment.