Skip to content

Commit 81f9183

Browse files
committed
test(smoke): add regression test for shortcode with trailing dash (#13913)
1 parent 5e05270 commit 81f9183

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: Shortcode with trailing dash
3+
format: html
4+
_quarto:
5+
tests:
6+
html:
7+
ensureFileRegexMatches:
8+
- ['<p>Normal shortcode: [0-9]+\.[0-9]+\.[0-9]+</p>', '<p>Shortcode with trailing dash: [0-9]+\.[0-9]+\.[0-9]+-</p>']
9+
- []
10+
---
11+
12+
Normal shortcode: {{< version >}}
13+
14+
Shortcode with trailing dash: {{< version >}}-

0 commit comments

Comments
 (0)