Skip to content

Commit

Permalink
fmt the test
Browse files Browse the repository at this point in the history
  • Loading branch information
llSourcell committed Sep 18, 2014
1 parent 8dd83ee commit 5fafaa4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions daemon/daemon_test.go
Original file line number Diff line number Diff line change
@@ -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)
Expand All @@ -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",
Expand Down

0 comments on commit 5fafaa4

Please sign in to comment.