From e26086fef3cf142cffd145836a4c7c12cfeb9656 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Thu, 13 Jan 2022 17:58:36 +0530 Subject: refactor: propertymatch changed to use single expression (group) --- tests/parser.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/parser.spec.ts') 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()] }) }), ]), ) }) -- cgit v1.3.1