MCPcopy Create free account
hub / github.com/RedisGraph/redisgraph-go / TestCreateROQueryFailure

Function TestCreateROQueryFailure

client_test.go:137–141  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

135}
136
137func 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
143func TestErrorReporting(t *testing.T) {
144 q := "RETURN toupper(5)"

Callers

nothing calls this directly

Calls 1

ROQueryMethod · 0.80

Tested by

no test coverage detected