12 lines
238 B
JSON
12 lines
238 B
JSON
{
|
|
"expression": ["match", "x", {}, "thing one", "thing two"],
|
|
"expected": {
|
|
"compiled": {
|
|
"result": "error",
|
|
"errors": [
|
|
{"key": "[2]", "error": "Branch labels must be numbers or strings."}
|
|
]
|
|
}
|
|
}
|
|
}
|