Skip to content

Commit

Permalink
test: fix testing for html/latex
Browse files Browse the repository at this point in the history
  • Loading branch information
mcanouil authored and cscheid committed Sep 26, 2023
1 parent f13582e commit ae1060b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tests/docs/smoke-all/2023/09/25/issue-6990.qmd
@@ -1,12 +1,16 @@
---
title: code filename with underscore in LaTeX
format: latex
format:
html: default
latex: default
_quarto:
tests:
html:
ensureFileRegexMatches:
- ["my_example.r"]
latex:
ensureFileRegexMatches:
-
- "my\_example.r"
- ["my\\\\_example.r"]
---

```{.r filename="my_example.r"}
Expand Down

0 comments on commit ae1060b

Please sign in to comment.