Files
regorus/tests/interpreter/cases/rule/else.yaml
Anand Krishnamoorthi f51731e584 Handle else block without body (#155)
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
2024-02-22 21:04:20 -08:00

19 lines
292 B
YAML

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
cases:
- note: else without body
data: {}
modules:
- |
package test
x = 4 {
false
} else = 5
y = 6
query: data.test
want_result:
x: 5
y: 6