diff --git a/Makefile b/Makefile index 4a36d2c..770d8c8 100644 --- a/Makefile +++ b/Makefile @@ -8,5 +8,5 @@ build: go build . test: - go tool vet . + go vet . go test ./... -cover diff --git a/rdoc_test.go b/rdoc_test.go index 8e77983..a4fdf48 100644 --- a/rdoc_test.go +++ b/rdoc_test.go @@ -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")