Browse Source

add test case for hex

pull/1842/head
Anton Kaliaev 7 years ago
parent
commit
fa990f0803
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      pubsub/query/parser_test.go

+ 3
- 0
pubsub/query/parser_test.go 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 {


Loading…
Cancel
Save