6 "github.com/stretchr/testify/assert"
7 "github.com/tendermint/tmlibs/pubsub/query"
10 func TestEmptyQueryMatchesAnything(t *testing.T) {
12 assert.True(t, q.Matches(map[string]interface{}{}))
13 assert.True(t, q.Matches(map[string]interface{}{"Asher": "Roth"}))
14 assert.True(t, q.Matches(map[string]interface{}{"Route": 66}))
15 assert.True(t, q.Matches(map[string]interface{}{"Route": 66, "Billy": "Blue"}))