Skip to content

Commit d541684

Browse files
committed
test(smoke): add semicolon edge case to shortcode test (#13913)
1 parent 53ebab9 commit d541684

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
---
2-
title: Shortcode with trailing dash
2+
title: Shortcode with trailing punctuation
33
format: html
44
_quarto:
55
tests:
66
html:
77
ensureFileRegexMatches:
8-
- ['<p>Normal shortcode: [0-9]+\.[0-9]+\.[0-9]+</p>', '<p>Shortcode with trailing dash: [0-9]+\.[0-9]+\.[0-9]+-</p>']
8+
-
9+
- '<p>Normal shortcode: [0-9]+\.[0-9]+\.[0-9]+</p>'
10+
- '<p>Shortcode with trailing dash: [0-9]+\.[0-9]+\.[0-9]+-</p>'
11+
- '<p>Shortcode with trailing semicolon: [0-9]+\.[0-9]+\.[0-9]+;suffix</p>'
912
- []
1013
---
1114

1215
Normal shortcode: {{< version >}}
1316

1417
Shortcode with trailing dash: {{< version >}}-
18+
19+
Shortcode with trailing semicolon: {{< version >}};suffix

0 commit comments

Comments
 (0)