From 5b22d243d9694016b145d9995bde10c7689ab191 Mon Sep 17 00:00:00 2001 From: Dylan Piercey Date: Tue, 11 Aug 2026 17:19:46 -0700 Subject: [PATCH] test: cover delimiters inside an async method signature Strings, templates, regexes, comments and type params can all contain the characters that delimit the signature. --- .../attr-method-shorthand-async.expected.txt | 61 ++++++++++++++++++- .../attr-method-shorthand-async/input.marko | 10 +++ 2 files changed, 69 insertions(+), 2 deletions(-) diff --git a/src/__tests__/fixtures/attr-method-shorthand-async/__snapshots__/attr-method-shorthand-async.expected.txt b/src/__tests__/fixtures/attr-method-shorthand-async/__snapshots__/attr-method-shorthand-async.expected.txt index 8558c36..5fc06cd 100644 --- a/src/__tests__/fixtures/attr-method-shorthand-async/__snapshots__/attr-method-shorthand-async.expected.txt +++ b/src/__tests__/fixtures/attr-method-shorthand-async/__snapshots__/attr-method-shorthand-async.expected.txt @@ -164,5 +164,62 @@ │ ├─ closeTagEnd(foo) ╰─ ╰─ tagName "foo" 39╭─ - │ ├─ openTagEnd - ╰─ ╰─ closeTagEnd(foo) \ No newline at end of file + ╰─ ╰─ openTagEnd +40╭─