aboutsummaryrefslogtreecommitdiff
path: root/tests/parser.spec.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/parser.spec.ts')
-rw-r--r--tests/parser.spec.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/parser.spec.ts b/tests/parser.spec.ts
index c935165..bd71509 100644
--- a/tests/parser.spec.ts
+++ b/tests/parser.spec.ts
@@ -89,9 +89,9 @@ describe('Parser', () => {
wrap([
Expr.PropertyMatch({
name: 'name',
- exprs: [Expr.AnyString(), Expr.Truthy()],
+ expr: Expr.Group({ exprs: [Expr.AnyString(), Expr.Truthy()] }),
}),
- Expr.PropertyMatch({ name: 'age', exprs: [Expr.AnyNumber()] }),
+ Expr.PropertyMatch({ name: 'age', expr: Expr.Group({ exprs: [Expr.AnyNumber()] }) }),
]),
)
})