add test case for hex

This commit is contained in:
Anton Kaliaev 2017-08-10 19:46:59 -04:00
parent a6a06f820f
commit fa990f0803
No known key found for this signature in database
GPG Key ID: 7B6881D965918214
1 changed files with 3 additions and 0 deletions

View File

@ -75,6 +75,9 @@ func TestParser(t *testing.T) {
{"account.balance >= -300", false},
{"account.balance >>= 400", false},
{"account.balance=33.22.1", false},
{"hash='136E18F7E4C348B780CF873A0BF43922E5BAFA63'", true},
{"hash=136E18F7E4C348B780CF873A0BF43922E5BAFA63", false},
}
for _, c := range cases {