@cryptotaxi247 / kubo / commits / 5fafaa42e

fmt the test

llSourcell committed Sep 18, 2014 at 12:49 UTC 5fafaa42e8ce3b2bad55cfa9005267245060ea95
1 file changed +2 -4
daemon/daemon_test.go
+2 -4
@@ -1,17 +1,16 @@
1 package daemon
2
3 import (
4 - "testing"
5 - "encoding/base64"
4 + "encoding/base64"
5 config "github.com/jbenet/go-ipfs/config"
6 core "github.com/jbenet/go-ipfs/core"
7 ci "github.com/jbenet/go-ipfs/crypto"
8 identify "github.com/jbenet/go-ipfs/identify"
9 + "testing"
10 )
11
12 func TestInitializeDaemonListener(t *testing.T) {
13
14 -
14 priv, pub, err := ci.GenerateKeyPair(ci.RSA, 512)
15 if err != nil {
16 t.Fatal(err)
@@ -25,7 +24,6 @@ func TestInitializeDaemonListener(t *testing.T) {
24 privKey := base64.StdEncoding.EncodeToString(prbytes)
25 pID := ident.Pretty()
26
28 -
27 id := &config.Identity{
28 PeerID: pID,
29 Address: "/ip4/127.0.0.1/tcp/8000",