From b4887e3c306db12de801b050c691064b01abeed0 Mon Sep 17 00:00:00 2001 From: kortschak Date: Thu, 31 Jul 2014 08:38:31 +0930 Subject: [PATCH] Update tests to use cquads parsed data --- cayley_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cayley_test.go b/cayley_test.go index e4f1247..ba6be1c 100644 --- a/cayley_test.go +++ b/cayley_test.go @@ -37,7 +37,7 @@ var benchmarkQueries = []struct { g.V("Humphrey Bogart").In("name").All() `, 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{}{ - {":/en/billy_gilbert"}, - {":/en/sterling_holloway"}, + {"/en/billy_gilbert"}, + {"/en/sterling_holloway"}, }, }, @@ -287,7 +287,7 @@ var m2_actors = movie2.Save("name","movie2").Follow(filmToActor) var ( once sync.Once cfg = &config.Config{ - DatabasePath: "30kmoviedata.nt.gz", + DatabasePath: "30kmoviedata.nq.gz", DatabaseType: "memstore", GremlinTimeout: 300, }