Skip to content

Commit 0bfaab9

Browse files
yaronfysheffer
and
ysheffer
authored
Repro issue 84 (#132)
Co-authored-by: ysheffer <[email protected]>
1 parent ec4a701 commit 0bfaab9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: parser/parser_test.go

+6
Original file line numberDiff line numberDiff line change
@@ -606,3 +606,9 @@ func TestMustParserFact(t *testing.T) {
606606
// })
607607
// }
608608
// }
609+
610+
func TestIssue84(t *testing.T) {
611+
rule, err := FromStringRule(`var($a) <- user($a), !($a == "abc")`)
612+
_ = rule
613+
require.NoError(t, err)
614+
}

0 commit comments

Comments
 (0)