Skip to content

Commit

Permalink
Merge pull request #8 from gyuho/ci
Browse files Browse the repository at this point in the history
gofmt, change git path
  • Loading branch information
gyuho committed Jul 27, 2017
2 parents c359265 + a30394a commit 2ab139b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ race:

# go get github.com/kisielk/errcheck
errcheck:
@errcheck -ignorepkg=bytes -ignore=os:Remove github.com/boltdb/bolt
@errcheck -ignorepkg=bytes -ignore=os:Remove github.com/coreos/bbolt

test:
test:
@go test -v -cover .
@go test -v ./cmd/bolt

Expand Down
2 changes: 1 addition & 1 deletion cmd/bolt/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"unicode/utf8"
"unsafe"

"github.com/boltdb/bolt"
bolt "github.com/coreos/bbolt"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1587,7 +1587,7 @@ func mustContainKeys(b *bolt.Bucket, m map[string]string) {

// Check for keys found in bucket that shouldn't be there.
var keys []string
for k, _ := range found {
for k := range found {
if _, ok := m[string(k)]; !ok {
keys = append(keys, k)
}
Expand All @@ -1598,7 +1598,7 @@ func mustContainKeys(b *bolt.Bucket, m map[string]string) {
}

// Check for keys not found in bucket that should be there.
for k, _ := range m {
for k := range m {
if _, ok := found[string(k)]; !ok {
keys = append(keys, k)
}
Expand Down
1 change: 0 additions & 1 deletion freelist.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"unsafe"
)


// txPending holds a list of pgids and corresponding allocation txns
// that are pending to be freed.
type txPending struct {
Expand Down

0 comments on commit 2ab139b

Please sign in to comment.