(t *testing.T)
| 135 | } |
| 136 | |
| 137 | func TestCreateROQueryFailure(t *testing.T) { |
| 138 | q := "CREATE (w:WorkPlace {name:'RedisLabs'})" |
| 139 | _, err := graph.ROQuery(q) |
| 140 | assert.NotNil(t, err, "error should not be nil") |
| 141 | } |
| 142 | |
| 143 | func TestErrorReporting(t *testing.T) { |
| 144 | q := "RETURN toupper(5)" |