(t *testing.T)
| 69 | } |
| 70 | |
| 71 | func TestMatchROQuery(t *testing.T) { |
| 72 | q := "MATCH (s)-[e]->(d) RETURN s,e,d" |
| 73 | res, err := graph.ROQuery(q) |
| 74 | if err != nil { |
| 75 | t.Error(err) |
| 76 | } |
| 77 | |
| 78 | checkQueryResults(t, res) |
| 79 | } |
| 80 | |
| 81 | func checkQueryResults(t *testing.T, res *QueryResult) { |
| 82 | assert.Equal(t, len(res.results), 1, "expecting 1 result record") |
nothing calls this directly
no test coverage detected