mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-03 23:38:07 +08:00
fmt the test
This commit is contained in:
parent
8dd83ee17c
commit
5fafaa42e8
@ -1,17 +1,16 @@
|
||||
package daemon
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"encoding/base64"
|
||||
"encoding/base64"
|
||||
config "github.com/jbenet/go-ipfs/config"
|
||||
core "github.com/jbenet/go-ipfs/core"
|
||||
ci "github.com/jbenet/go-ipfs/crypto"
|
||||
identify "github.com/jbenet/go-ipfs/identify"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestInitializeDaemonListener(t *testing.T) {
|
||||
|
||||
|
||||
priv, pub, err := ci.GenerateKeyPair(ci.RSA, 512)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
@ -25,7 +24,6 @@ func TestInitializeDaemonListener(t *testing.T) {
|
||||
privKey := base64.StdEncoding.EncodeToString(prbytes)
|
||||
pID := ident.Pretty()
|
||||
|
||||
|
||||
id := &config.Identity{
|
||||
PeerID: pID,
|
||||
Address: "/ip4/127.0.0.1/tcp/8000",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user