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".')