fix building Or iterator, add test
This commit is contained in:
parent
0b91414c4b
commit
539bd9b272
2 changed files with 8 additions and 1 deletions
|
|
@ -186,6 +186,13 @@ var testQueries = []struct {
|
|||
`,
|
||||
expect: []string{"charlie"},
|
||||
},
|
||||
{
|
||||
message: "test Or()",
|
||||
query: `
|
||||
g.V("bob").Out("follows").Or(g.V().Has("status", "cool_person")).All()
|
||||
`,
|
||||
expect: []string{"fred", "bob", "greg", "dani"},
|
||||
},
|
||||
|
||||
// Gremlin Has tests.
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue