Update tests to use cquads parsed data
This commit is contained in:
parent
1a0dd13735
commit
b4887e3c30
1 changed files with 4 additions and 4 deletions
|
|
@ -37,7 +37,7 @@ var benchmarkQueries = []struct {
|
||||||
g.V("Humphrey Bogart").In("name").All()
|
g.V("Humphrey Bogart").In("name").All()
|
||||||
`,
|
`,
|
||||||
expect: [][]interface{}{
|
expect: [][]interface{}{
|
||||||
{map[string]string{"id": ":/en/humphrey_bogart"}},
|
{map[string]string{"id": "/en/humphrey_bogart"}},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -77,8 +77,8 @@ var benchmarkQueries = []struct {
|
||||||
})
|
})
|
||||||
`,
|
`,
|
||||||
expect: [][]interface{}{
|
expect: [][]interface{}{
|
||||||
{":/en/billy_gilbert"},
|
{"/en/billy_gilbert"},
|
||||||
{":/en/sterling_holloway"},
|
{"/en/sterling_holloway"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -287,7 +287,7 @@ var m2_actors = movie2.Save("name","movie2").Follow(filmToActor)
|
||||||
var (
|
var (
|
||||||
once sync.Once
|
once sync.Once
|
||||||
cfg = &config.Config{
|
cfg = &config.Config{
|
||||||
DatabasePath: "30kmoviedata.nt.gz",
|
DatabasePath: "30kmoviedata.nq.gz",
|
||||||
DatabaseType: "memstore",
|
DatabaseType: "memstore",
|
||||||
GremlinTimeout: 300,
|
GremlinTimeout: 300,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue