Skip to content

Commit 8c6c1b7

Browse files
authored
Merge pull request #12450 from quarto-dev/tests/adapt-to-new-xfun
Use correct comment language syntax for the cell options in knitr engine file
2 parents f146e21 + a8525d4 commit 8c6c1b7

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

tests/docs/smoke-all/2023/10/29/6985-b.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ code-fold: true
88
```
99

1010
```{js}
11-
#| file: script.js
11+
//| file: script.js
1212
```

tests/docs/smoke-all/knitr/eng-sql.qmd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: cell output display wrapping for sql engine
33
engine: knitr
44
format: html
5+
keep-md: true
56
filters:
67
- at: pre-quarto
78
path: check-output-display.lua
@@ -15,8 +16,8 @@ dbWriteTable(con, "mtcars", mtcars)
1516
```
1617

1718
```{sql}
18-
#| column: margin
19-
#| connection: con
19+
--| column: margin
20+
--| connection: con
2021
2122
select cyl from mtcars limit 5
2223
```

tests/docs/test-knitr-sql.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ ORDER BY manufacturer, displ DESC
2828
New way to write this option
2929

3030
```{sql}
31-
#| connection: con
31+
--| connection: con
3232
SELECT manufacturer, displ, cty
3333
FROM mpg
3434
ORDER BY manufacturer, displ DESC

0 commit comments

Comments
 (0)