Commit 5fafaa42 authored by llSourcell's avatar llSourcell

fmt the test

parent 8dd83ee1
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",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment