Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-unixfs
Commits
5fafaa42
Commit
5fafaa42
authored
10 years ago
by
llSourcell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fmt the test
parent
8dd83ee1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
daemon/daemon_test.go
daemon/daemon_test.go
+2
-4
No files found.
daemon/daemon_test.go
View file @
5fafaa42
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"
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment