From c854cfd82d13c33c83a36c66c8800836718dc0e2 Mon Sep 17 00:00:00 2001 From: Matthijs van der Vleuten Date: Tue, 9 May 2023 11:33:29 +0200 Subject: [PATCH] Fix 'closung' typo --- src/parser.ts | 2 +- test/cases/statement_broken_3/expected.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/parser.ts b/src/parser.ts index eb40075..16a756b 100644 --- a/src/parser.ts +++ b/src/parser.ts @@ -136,7 +136,7 @@ export const parse: Parser["parse"] = (text) => { } throw new Error( - `Closung statement "${statement}" doesn't match Opening Statement "${start.content}".` + `Closing statement "${statement}" doesn't match Opening Statement "${start.content}".` ); } } diff --git a/test/cases/statement_broken_3/expected.html b/test/cases/statement_broken_3/expected.html index f124eca..b7b0cea 100644 --- a/test/cases/statement_broken_3/expected.html +++ b/test/cases/statement_broken_3/expected.html @@ -1 +1 @@ -Error('Closung statement "endif" doesn't match Opening Statement "for item in seq".') +Error('Closing statement "endif" doesn't match Opening Statement "for item in seq".')