mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-25 12:27:43 +08:00
14 lines
313 B
Go
14 lines
313 B
Go
package bitswap
|
|
|
|
import (
|
|
"testing"
|
|
|
|
context "github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/go.net/context"
|
|
bsmsg "github.com/jbenet/go-ipfs/bitswap/message"
|
|
)
|
|
|
|
func TestDoesntPanicIfDelegateNotPresent(t *testing.T) {
|
|
r := receiver{}
|
|
r.ReceiveMessage(context.Background(), bsmsg.New())
|
|
}
|