From ca39afd51bba4b5e3636150132fd800fea78cf3e Mon Sep 17 00:00:00 2001 From: palumbon Date: Sun, 13 Aug 2023 19:07:27 +0200 Subject: [PATCH] Fixing parser test --- test/parser.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parser.test.ts b/test/parser.test.ts index 0f030688..5e05ca7d 100644 --- a/test/parser.test.ts +++ b/test/parser.test.ts @@ -1445,7 +1445,7 @@ describe('Wollok parser', () => { }) it('should parse annotated subnodes within expression bodies', () => { - 'method m() = @A(x = 1) 5'.should.be.parsedBy(parser).into( + 'method m() = (@A(x = 1) 5)'.should.be.parsedBy(parser).into( new Method({ name: 'm', body: new Body({ sentences: [