test event bus

Refs #693
This commit is contained in:
Anton Kaliaev
2018-07-11 11:53:12 +04:00
parent 6fe8ea966a
commit e4db5f8dcd
3 changed files with 64 additions and 5 deletions

View File

@@ -1,10 +1,10 @@
gen_query_parser:
@go get github.com/pointlander/peg
go get -u -v github.com/pointlander/peg
peg -inline -switch query.peg
fuzzy_test:
@go get github.com/dvyukov/go-fuzz/go-fuzz
@go get github.com/dvyukov/go-fuzz/go-fuzz-build
go get -u -v github.com/dvyukov/go-fuzz/go-fuzz
go get -u -v github.com/dvyukov/go-fuzz/go-fuzz-build
go-fuzz-build github.com/tendermint/tendermint/libs/pubsub/query/fuzz_test
go-fuzz -bin=./fuzz_test-fuzz.zip -workdir=./fuzz_test/output

View File

@@ -1,6 +1,7 @@
// nolint
package query
//go:generate peg -inline -switch query.peg
import (
"fmt"
"math"