Skip to content

Commit c4d3181

Browse files
committed
update tests
1 parent 73650eb commit c4d3181

File tree

7 files changed

+9
-18
lines changed

7 files changed

+9
-18
lines changed

tests/docs/smoke-all/crossrefs/float/typst/typst-float-3.qmd

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@ _quarto:
77
typst:
88
ensureTypstFileRegexMatches:
99
-
10-
- "<fig-foo>"
11-
- "<tbl-foo>"
12-
- "@fig-foo"
13-
- "@tbl-foo"
10+
- "#ref\\(<fig-foo>, supplement: \\[Figure\\]\\)"
11+
- "#ref\\(<tbl-foo>, supplement: \\[Table\\]\\)"
1412
- "This is a figure"
1513
- "This is a table"
1614
---

tests/docs/smoke-all/crossrefs/float/typst/typst-float-4.qmd

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@ _quarto:
77
typst:
88
ensureTypstFileRegexMatches:
99
-
10-
- "<fig-foo>"
11-
- "<tbl-foo>"
12-
- "@fig-foo"
13-
- "@tbl-foo"
10+
- "#ref\\(<tbl-foo>, supplement: \\[Table\\]\\)"
11+
- "#ref\\(<fig-foo>, supplement: \\[Figure\\]\\)"
1412
- "#link\\(\"https://www.example.com/\"\\)\\[#.*image\\(\"img/surus.jpg\"\\)\\)"
1513
---
1614

tests/docs/smoke-all/crossrefs/float/typst/typst-jupyter-1.qmd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ _quarto:
77
typst:
88
ensureTypstFileRegexMatches:
99
-
10-
- "<fig-plot>"
11-
- "@fig-plot"
10+
- "#ref\\(<fig-plot>, supplement: \\[Figure\\]\\)"
1211
- "Plot"
1312
- "#.*image\\(\"typst-jupyter-1_files/figure-typst/fig-plot-output-1.svg\"\\)"
1413
- []

tests/docs/smoke-all/crossrefs/float/typst/typst-knitr-1.qmd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ _quarto:
88
ensureTypstFileRegexMatches:
99
-
1010
- "Plot"
11-
- "<fig-plot>"
12-
- "@fig-plot"
11+
- "#ref\\(<fig-plot>, supplement: \\[Figure\\]\\)"
1312
---
1413

1514
## Knitr Crossref Figure

tests/docs/smoke-all/crossrefs/float/typst/typst-listings-1.qmd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ _quarto:
77
typst:
88
ensureTypstFileRegexMatches:
99
-
10-
- "<lst-customers>"
11-
- "@lst-customers"
10+
- "#ref\\(<lst-customers>, supplement: \\[Listing\\]\\)"
1211
- "Customers Query"
1312
- []
1413
---

tests/docs/smoke-all/crossrefs/theorem/theorem-1.qmd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ _quarto:
2020
typst:
2121
ensureTypstFileRegexMatches:
2222
-
23-
- "<thm-line>"
24-
- "@thm-line"
23+
- "#ref\\(<thm-line>, supplement: \\[Theorem\\]\\)"
2524
- "#theorem\\(\"Line\"\\)"
2625
- []
2726
markdown:

tests/docs/smoke-all/crossrefs/theorem/theorem-2.qmd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ _quarto:
2020
typst:
2121
ensureTypstFileRegexMatches:
2222
-
23-
- "<thm-line>"
24-
- "@thm-line"
23+
- "#ref\\(<thm-line>, supplement: \\[Theorem\\]\\)"
2524
- "#theorem\\(\\)"
2625
-
2726
- "#theorem\\(\"\"\\)"

0 commit comments

Comments
 (0)