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
p2p
go-p2p-kad-dht
Commits
df33f2b6
Commit
df33f2b6
authored
Dec 11, 2017
by
Steven Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove dead test code
parent
c54128a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
dht_test.go
dht_test.go
+0
-3
No files found.
dht_test.go
View file @
df33f2b6
...
...
@@ -30,11 +30,8 @@ var testCaseValues = map[string][]byte{}
var
testCaseCids
[]
*
cid
.
Cid
func
init
()
{
testCaseValues["hello"] = []byte("world")
for
i
:=
0
;
i
<
100
;
i
++
{
k := fmt.Sprintf("%d -- key", i)
v
:=
fmt
.
Sprintf
(
"%d -- value"
,
i
)
testCaseValues[k] = []byte(v)
mhv
:=
u
.
Hash
([]
byte
(
v
))
testCaseCids
=
append
(
testCaseCids
,
cid
.
NewCidV0
(
mhv
))
...
...
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