Skip to content

Commit

Permalink
Repro issue 84
Browse files Browse the repository at this point in the history
  • Loading branch information
ysheffer authored and ysheffer committed Apr 23, 2024
1 parent ec4a701 commit cf950ed
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions parser/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -606,3 +606,9 @@ func TestMustParserFact(t *testing.T) {
// })
// }
// }

func TestIssue84(t *testing.T) {
rule, err := FromStringRule(`var($a) <- user($a), !($a == "abc")`)
_ = rule
require.NoError(t, err)
}

0 comments on commit cf950ed

Please sign in to comment.