(t *testing.T)
| 182 | } |
| 183 | |
| 184 | func TestCompileWithNS(t *testing.T) { |
| 185 | _, err := CompileWithNS("/foo", nil) |
| 186 | assertNil(t, err) |
| 187 | _, err = CompileWithNS("/foo", map[string]string{}) |
| 188 | assertNil(t, err) |
| 189 | _, err = CompileWithNS("/foo", map[string]string{"a": "b"}) |
| 190 | assertNil(t, err) |
| 191 | _, err = CompileWithNS("/a:foo", map[string]string{"a": "b"}) |
| 192 | assertNil(t, err) |
| 193 | _, err = CompileWithNS("/u:foo", map[string]string{"a": "b"}) |
| 194 | assertErr(t, err) |
| 195 | } |
| 196 | |
| 197 | func TestNamespacePrefixQuery(t *testing.T) { |
| 198 | /* |
nothing calls this directly
no test coverage detected
searching dependent graphs…