diff --git a/Gopkg.lock b/Gopkg.lock index 16ab411f6..58592e0cb 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -35,7 +35,7 @@ "language/parser", "language/source" ] - revision = "5cf1f05cb1945ca40ca374e21ccf26f01fc67d10" + revision = "12cfed44bc5de083875506a36d30f9798f9bca47" [[projects]] name = "github.com/dlclark/regexp2" diff --git a/query/graphql/graphql_test.go b/query/graphql/graphql_test.go index ea7000c4c..54656f7de 100644 --- a/query/graphql/graphql_test.go +++ b/query/graphql/graphql_test.go @@ -29,7 +29,7 @@ var casesParse = []struct { }{ { `{ - user(id: 3500401, http://iri: http://some_iri, follow: , n: _:bob) @rev(follow: "123"){ + user(id: 3500401, http://iri: http://some_iri, follow: , n: _:bob, v: ["", "name", 3]) @rev(follow: "123"){ id: ` + ValueKey + `, type: ` + rdf.NS + "type" + `, followed: follow @reverse @label(v: ) { @@ -54,6 +54,7 @@ var casesParse = []struct { {"http://iri", false, iris("http://some_iri"), nil}, {"follow", false, iris("bob"), nil}, {"n", false, []quad.Value{quad.BNode("bob")}, nil}, + {"v", false, []quad.Value{quad.IRI("bob"), quad.String("name"), quad.Int(3)}, nil}, }, Fields: []field{ {Via: quad.IRI(ValueKey), Alias: "id"},