Skip to content

Commit

Permalink
update go vet
Browse files Browse the repository at this point in the history
  • Loading branch information
gpestana committed Jan 5, 2019
1 parent 1a8ec98 commit 27ebe70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ build:
go build .

test:
go tool vet .
go vet .
go test ./... -cover
6 changes: 3 additions & 3 deletions rdoc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ func TestTraverseSimple(t *testing.T) {

cursor1 := op.NewCursor(
0, // cursor's key
op.MapKey{"root"},
op.MapKey{"sub-node"},
op.ListKey{0},
op.MapKey{Key: "root"},
op.MapKey{Key: "sub-node"},
op.ListKey{Key: 0},
)

n1, trvN, crtN := doc.traverse(cursor1, "oId")
Expand Down

0 comments on commit 27ebe70

Please sign in to comment.