From 695887cccc924f290a931a6b6595655a0c4dd7b5 Mon Sep 17 00:00:00 2001 From: fisker Date: Thu, 15 Jan 2026 06:09:05 +0800 Subject: [PATCH] Update snapshots --- .../__snapshots__/format.test.js.snap | 28 ++++++++++++++++--- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/tests/format/misc/errors/front-matter/__snapshots__/format.test.js.snap b/tests/format/misc/errors/front-matter/__snapshots__/format.test.js.snap index 142573f75..9b5a82c6e 100644 --- a/tests/format/misc/errors/front-matter/__snapshots__/format.test.js.snap +++ b/tests/format/misc/errors/front-matter/__snapshots__/format.test.js.snap @@ -18,19 +18,39 @@ exports[`snippet: Should not support front matter [__js_expression] format 1`] = Cause: Unexpected parseExpression() input: The input should contain exactly one expression, but the first expression is followed by the unexpected character \`M\`. (2:6)" `; -exports[`snippet: Should not support front matter [__ng_action] format 1`] = `"Unexpected token 'Matter'"`; +exports[`snippet: Should not support front matter [__ng_action] format 1`] = ` +"Parser Error: Unexpected token 'Matter' +Cause: Parser Error: Unexpected token 'Matter' at column 11 in [--- +Front Matter content +---] in test.html@0:0" +`; -exports[`snippet: Should not support front matter [__ng_binding] format 1`] = `"Unexpected token 'Matter'"`; +exports[`snippet: Should not support front matter [__ng_binding] format 1`] = ` +"Parser Error: Unexpected token 'Matter' +Cause: Parser Error: Unexpected token 'Matter' at column 11 in [--- +Front Matter content +---] in test.html@0:0" +`; exports[`snippet: Should not support front matter [__ng_directive] format 1`] = ` -"Unexpected end of expression: --- +"Parser Error: Unexpected end of expression: --- +Front Matter content +--- at the end of the expression [--- +Front Matter content +---] +Cause: Parser Error: Unexpected end of expression: --- Front Matter content --- at the end of the expression [--- Front Matter content ---] in test.html@0:0" `; -exports[`snippet: Should not support front matter [__ng_interpolation] format 1`] = `"Unexpected token 'Matter'"`; +exports[`snippet: Should not support front matter [__ng_interpolation] format 1`] = ` +"Parser Error: Unexpected token 'Matter' +Cause: Parser Error: Unexpected token 'Matter' at column 11 in [--- +Front Matter content +---] in test.html@0:0" +`; exports[`snippet: Should not support front matter [__ts_expression] format 1`] = ` "The input should contain exactly one expression, but the first expression is followed by the unexpected character \`M\`. (2:7)