Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cscheid committed Sep 27, 2023
1 parent f554515 commit 5164cc9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/docs/smoke-all/2023/03/28/remote-resources.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ _quarto:
tests:
html:
ensureHtmlElements:
- ["#remote-resource > :nth-child(2) figure img", "#remote-resource > p:nth-child(4) > img", "#data-uri > div > figure img"]
- ["#remote-resource > :nth-child(2) img", "#remote-resource > p:nth-child(4) > img", "#data-uri > div > figure img"]
---

## Remote Resource
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ _quarto:
tests:
latex:
ensureFileRegexMatches:
- ["marginfigure"]
- ["\\marginnote{\\\\begin{"] # captionless figures live inside marginnotes
- []
---

Expand Down
2 changes: 1 addition & 1 deletion tests/smoke/render/render-latex-output.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { docs } from "../../utils.ts";
import { renderVerifyLatexOutput } from "./render.ts";

renderVerifyLatexOutput(docs("latex-output/captionless-margin-image.qmd"), [
/\\begin{marginfigure}/,
/{\\marginnote{\\begin{footnotesize}\\includegraphics{/,
]);
renderVerifyLatexOutput(docs("latex-output/figure-div.qmd"), [
/\\centering{/,
Expand Down

0 comments on commit 5164cc9

Please sign in to comment.