diff options
| author | Akshay Nair <phenax5@gmail.com> | 2022-01-13 17:58:36 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2022-01-13 17:59:03 +0530 |
| commit | e26086fef3cf142cffd145836a4c7c12cfeb9656 (patch) | |
| tree | 3db5cbe208ac30b9281599fa61dbe6c910fe4163 /tests/parser.spec.ts | |
| parent | 1a281a717fe5bab2694bf51c1b03a7569d8facb4 (diff) | |
| download | elxr-e26086fef3cf142cffd145836a4c7c12cfeb9656.tar.gz elxr-e26086fef3cf142cffd145836a4c7c12cfeb9656.zip | |
refactor: propertymatch changed to use single expression (group)
Diffstat (limited to '')
| -rw-r--r-- | tests/parser.spec.ts | 4 |
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()] }) }), ]), ) }) |
