OSDN Git Service

Merge pull request #201 from Bytom/v0.1
[bytom/vapor.git] / vendor / github.com / tendermint / tmlibs / pubsub / query / empty_test.go
diff --git a/vendor/github.com/tendermint/tmlibs/pubsub/query/empty_test.go b/vendor/github.com/tendermint/tmlibs/pubsub/query/empty_test.go
deleted file mode 100644 (file)
index 663acb1..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-package query_test
-
-import (
-       "testing"
-
-       "github.com/stretchr/testify/assert"
-       "github.com/tendermint/tmlibs/pubsub/query"
-)
-
-func TestEmptyQueryMatchesAnything(t *testing.T) {
-       q := query.Empty{}
-       assert.True(t, q.Matches(map[string]interface{}{}))
-       assert.True(t, q.Matches(map[string]interface{}{"Asher": "Roth"}))
-       assert.True(t, q.Matches(map[string]interface{}{"Route": 66}))
-       assert.True(t, q.Matches(map[string]interface{}{"Route": 66, "Billy": "Blue"}))
-}