diff options
| author | Michael Färber <01mf02@gmail.com> | 2024-12-20 10:48:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-20 09:48:17 +0000 |
| commit | df4e6715cf31817878d73286d2d4b1ea1b7afdbb (patch) | |
| tree | 6265db40fc7907454a608120f0b3a20cfce825e1 /tools/test-helper/src/extension.ts | |
| parent | db06dbf9763d6c610d1f7a267597ecdad309048a (diff) | |
HTML tests (#5594)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
Diffstat (limited to 'tools/test-helper/src/extension.ts')
| -rw-r--r-- | tools/test-helper/src/extension.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test-helper/src/extension.ts b/tools/test-helper/src/extension.ts index 1f2cbd26..2e2b7d21 100644 --- a/tools/test-helper/src/extension.ts +++ b/tools/test-helper/src/extension.ts @@ -121,7 +121,7 @@ class TestHelper { const lenses = []; for (let nr = 0; nr < document.lineCount; nr++) { const line = document.lineAt(nr); - const re = /^--- ([\d\w-]+) ---$/; + const re = /^--- ([\d\w-]+)( [\d\w-]+)* ---$/; const m = line.text.match(re); if (!m) { continue; @@ -143,7 +143,7 @@ class TestHelper { }), new vscode.CodeLens(line.range, { title: "Save", - tooltip: "Run and view the test and save the reference image", + tooltip: "Run and view the test and save the reference output", command: "typst-test-helper.saveFromLens", arguments: [name], }), |
