fix gremlin test, add reversal test
This commit is contained in:
parent
283aca83c2
commit
58a735f329
2 changed files with 8 additions and 3 deletions
|
|
@ -239,6 +239,11 @@ func testSet(qs graph.QuadStore) []test {
|
|||
path: StartPath(qs, "greg").LabelContext("smart_graph").Out("status"),
|
||||
expect: []string{"smart_person"},
|
||||
},
|
||||
{
|
||||
message: "reverse context",
|
||||
path: StartPath(qs, "greg").Tag("base").LabelContext("smart_graph").Out("status").Tag("status").Back("base"),
|
||||
expect: []string{"greg"},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue