coreapi pubsub: add tests

License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>


This commit was moved from ipfs/interface-go-ipfs-core@3f9a6ce344

This commit was moved from ipfs/boxo@d23f749f57
This commit is contained in:
Łukasz Magiera 2018-09-11 05:43:54 +02:00 committed by Steven Allen
parent 729bb03d1b
commit 3f6b34dd1a

View File

@ -41,7 +41,7 @@ func PubSubSubscribeOptions(opts ...PubSubSubscribeOption) (*PubSubSubscribeSett
type pubsubOpts struct{}
var PubBub nameOpts
var PubSub pubsubOpts
func (pubsubOpts) Topic(topic string) PubSubPeersOption {
return func(settings *PubSubPeersSettings) error {