Skip to content

Commit 69282bb

Browse files
committed
Updated the list of valid tokens to include snippet for the liquid html syntax error theme check test to pass CI
1 parent dc67957 commit 69282bb

File tree

1 file changed

+1
-1
lines changed
  • packages/theme-check-common/src/checks/liquid-html-syntax-error

1 file changed

+1
-1
lines changed

packages/theme-check-common/src/checks/liquid-html-syntax-error/index.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ describe('Module: LiquidHTMLSyntaxError', () => {
8686
const offenses = await runLiquidCheck(LiquidHTMLSyntaxError, sourceCode);
8787
expect(offenses).to.have.length(1);
8888
expect(offenses[0].message).to.equal(
89-
`SyntaxError: expected "#", a letter, "when", "sections", "section", "render", "liquid", "layout", "increment", "include", "elsif", "else", "echo", "decrement", "content_for", "cycle", "continue", "break", "assign", "tablerow", "unless", "if", "ifchanged", "for", "case", "capture", "paginate", "form", "end", "style", "stylesheet", "schema", "javascript", "raw", "comment", or "doc"`,
89+
`SyntaxError: expected "#", a letter, "when", "sections", "section", "render", "liquid", "layout", "increment", "include", "elsif", "else", "echo", "decrement", "content_for", "cycle", "continue", "break", "assign", "snippet", "tablerow", "unless", "if", "ifchanged", "for", "case", "capture", "paginate", "form", "end", "style", "stylesheet", "schema", "javascript", "raw", "comment", or "doc"`,
9090
);
9191
});
9292

0 commit comments

Comments
 (0)