Skip to content

Commit 21c6013

Browse files
committed
Try a bigger width
1 parent 99c353f commit 21c6013

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/testthat/_snaps/convert-bookdown.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -440,8 +440,8 @@
440440
-- File: '<test_file_basename>' --
441441
442442
-- Lemma Block Labeled references:
443-
* Line 2 ('<test_file_basename>:2'): `` ```{lemma label="important",
444-
name="Helper Lemma"} `` -> `:::{#lemma-important}`
443+
* Line 2 ('<test_file_basename>:2'): `` ```{lemma label="important", name="Helper Lemma"} `` ->
444+
`:::{#lemma-important}`
445445
446446
-- Lem references:
447447
* Line 5 ('<test_file_basename>:5'): `\@ref(lem:important)` -> `@lem-important`
@@ -452,8 +452,7 @@
452452
! Theorem environments require manual restructuring
453453
Bookdown old syntax WITH label: ```{theorem, label="label"}
454454
Quarto syntax: :::{#thm-label}
455-
See:
456-
<https://quarto.org/docs/authoring/cross-references.html#theorems-and-proofs>
455+
See: <https://quarto.org/docs/authoring/cross-references.html#theorems-and-proofs>
457456
458457

459458
# detects theorem block without label correctly

tests/testthat/test-convert-bookdown.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ test_that("detects unsupported cross-references correctly", {
182182
})
183183

184184
test_that("detects theorem block with label correctly", {
185+
testthat::local_reproducible_output(width = 100)
185186
test_file <- local_rmd_file(
186187
"# Test Document",
187188
"```{lemma label=\"important\", name=\"Helper Lemma\"}",

0 commit comments

Comments
 (0)