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-datastore
Commits
e7613971
Commit
e7613971
authored
Mar 14, 2017
by
Jeromy Johnson
Committed by
GitHub
Mar 14, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #63 from ipfs/fix/query/test
test: fix query test
parents
06fe9d80
bbad852d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
test/basic_tests.go
test/basic_tests.go
+3
-2
No files found.
test/basic_tests.go
View file @
e7613971
...
...
@@ -95,8 +95,9 @@ func SubtestManyKeysAndQuery(t *testing.T, ds dstore.Datastore) {
count
:=
100
for
i
:=
0
;
i
<
count
;
i
++
{
s
:=
fmt
.
Sprintf
(
"%dkey%d"
,
i
,
i
)
keystrs
=
append
(
keystrs
,
s
)
keys
=
append
(
keys
,
dstore
.
NewKey
(
s
))
dsk
:=
dstore
.
NewKey
(
s
)
keystrs
=
append
(
keystrs
,
dsk
.
String
())
keys
=
append
(
keys
,
dsk
)
buf
:=
make
([]
byte
,
64
)
rand
.
Read
(
buf
)
values
=
append
(
values
,
buf
)
...
...
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