mirror of
https://github.com/google/go-jsonnet.git
synced 2025-09-29 09:21:03 +02:00
Fixed test cases
This commit is contained in:
parent
67c8bf4a53
commit
4c83cff898
@ -174,7 +174,7 @@ func prepareStdlib(g *typeGraph) {
|
|||||||
|
|
||||||
// Boolean
|
// Boolean
|
||||||
|
|
||||||
"xor": g.newSimpleFuncType(boolType, "x", "y"),
|
"xor": g.newSimpleFuncType(boolType, "x", "y"),
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldContains := map[string][]placeholderID{}
|
fieldContains := map[string][]placeholderID{}
|
||||||
|
10
testdata/builtinXor2.golden
vendored
10
testdata/builtinXor2.golden
vendored
@ -0,0 +1,10 @@
|
|||||||
|
RUNTIME ERROR: Unexpected type string, expected boolean
|
||||||
|
-------------------------------------------------
|
||||||
|
testdata/builtinXor2:1:1-23 $
|
||||||
|
|
||||||
|
std.xor("true", false)
|
||||||
|
|
||||||
|
-------------------------------------------------
|
||||||
|
During evaluation
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user