From fa990f08036b3f6bbb0d184c657b805e802d915c Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Thu, 10 Aug 2017 19:46:59 -0400 Subject: [PATCH] add test case for hex --- pubsub/query/parser_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pubsub/query/parser_test.go b/pubsub/query/parser_test.go index d96ac082..165ddda7 100644 --- a/pubsub/query/parser_test.go +++ b/pubsub/query/parser_test.go @@ -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 {