Skip to content

Commit 5978e68

Browse files
committed
fix some spelling errors
1 parent 3f3a0a1 commit 5978e68

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

key_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"strings"
77
"testing"
88

9-
. "gopkg.in/check.v1"
109
. "github.com/ipfs/go-datastore"
10+
. "gopkg.in/check.v1"
1111
)
1212

1313
// Hook up gocheck into the "go test" runner.

query/query.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ type Query struct {
7171
// // is not set, Size should always be set.
7272
}
7373

74-
// String returns a string represenation of the Query for debugging/validation
74+
// String returns a string representation of the Query for debugging/validation
7575
// purposes. Do not use it for SQL queries.
7676
func (q Query) String() string {
7777
s := "SELECT keys"
@@ -157,7 +157,7 @@ type Result struct {
157157
type Results interface {
158158
Query() Query // the query these Results correspond to
159159
Next() <-chan Result // returns a channel to wait for the next result
160-
NextSync() (Result, bool) // blocks and waits to return the next result, second paramter returns false when results are exhausted
160+
NextSync() (Result, bool) // blocks and waits to return the next result, second parameter returns false when results are exhausted
161161
Rest() ([]Entry, error) // waits till processing finishes, returns all entries at once.
162162
Close() error // client may call Close to signal early exit
163163

test/test_util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func RunBatchTest(t *testing.T, ds dstore.Batching) {
3636
}
3737
}
3838

39-
// Ensure they are not in the datastore before comitting
39+
// Ensure they are not in the datastore before committing
4040
for _, k := range keys {
4141
_, err := ds.Get(k)
4242
if err == nil {

0 commit comments

Comments
 (0)