MCPcopy Index your code
hub / github.com/dgraph-io/dgraph / TestDoubleOrder

Function TestDoubleOrder

query/query0_test.go:2072–2083  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

2070}
2071
2072func TestDoubleOrder(t *testing.T) {
2073
2074 query := `
2075 {
2076 me(func: uid(1)) {
2077 friend(orderdesc: dob) @facets(orderasc: weight)
2078 }
2079 }
2080 `
2081 _, err := processQuery(context.Background(), t, query)
2082 require.Error(t, err)
2083}
2084
2085func TestVarInAggError(t *testing.T) {
2086

Callers

nothing calls this directly

Calls 2

processQueryFunction · 0.70
ErrorMethod · 0.45

Tested by

no test coverage detected