Run go vet
Bugs found.
This commit is contained in:
parent
8118c8d3cc
commit
bf6412b55d
12 changed files with 28 additions and 14 deletions
|
|
@ -177,7 +177,12 @@ func TestLinksToOptimization(t *testing.T) {
|
|||
func TestRemoveQuad(t *testing.T) {
|
||||
qs, w, _ := makeTestStore(simpleGraph)
|
||||
|
||||
w.RemoveQuad(quad.Quad{"E", "follows", "F", ""})
|
||||
w.RemoveQuad(quad.Quad{
|
||||
Subject: "E",
|
||||
Predicate: "follows",
|
||||
Object: "F",
|
||||
Label: "",
|
||||
})
|
||||
|
||||
fixed := qs.FixedIterator()
|
||||
fixed.Add(qs.ValueOf("E"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue