Skip to content

Commit 68bbf87

Browse files
committed
update smoke-all tests
1 parent 8e743fc commit 68bbf87

File tree

10 files changed

+9
-95
lines changed

10 files changed

+9
-95
lines changed

tests/docs/smoke-all/2022/09/29/lua-emulation-test.lua

Lines changed: 0 additions & 15 deletions
This file was deleted.

tests/docs/smoke-all/2022/09/29/lua-emulation.qmd

Lines changed: 0 additions & 5 deletions
This file was deleted.

tests/docs/smoke-all/2022/09/30/custom-nodes/createcustomnode.lua

Lines changed: 0 additions & 42 deletions
This file was deleted.

tests/docs/smoke-all/2022/09/30/custom-nodes/customnode.qmd

Lines changed: 0 additions & 11 deletions
This file was deleted.

tests/docs/smoke-all/2022/09/30/custom-nodes/testcustomnode.lua

Lines changed: 0 additions & 12 deletions
This file was deleted.

tests/docs/smoke-all/2022/09/30/custom-writer-emulation/customformat.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ function Pandoc(doc, emit)
44
emit("</doc>")
55
end
66

7-
function MyCustomNode(node)
8-
return "<custom-node/>"
7+
function Callout(node)
8+
return "<callout/>"
99
end

tests/docs/smoke-all/2022/09/30/custom-writer-emulation/customwriter-yaml.qmd

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
---
2-
filters:
3-
- createcustomnode.lua
42
format:
53
customformat.lua: default
64
validate-yaml: false
75
---
86

9-
::: my-custom-node
7+
::: callout-note
108

119
A custom node.
1210

tests/docs/smoke-all/2022/09/30/custom-writer-emulation/customwriter-yaml.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/docs/smoke-all/2022/11/29/callout-constructor.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ _quarto:
66
tests:
77
html:
88
ensureHtmlElements:
9-
- ["div.callout-icon-container i.callout-icon.no-icon"]
10-
- ["div.callout-icon-container i.callout-icon"]
9+
- ["div.callout.callout-note div.callout-icon-container i.callout-icon"]
10+
- ["div.callout-icon-container i.callout-icon.no-icon"]
1111
---
1212

1313
Some stuff here.
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
function Pandoc(doc)
2-
doc.blocks:insert(quarto.Callout({
2+
local c = quarto.Callout({
33
type = "note",
44
content = { pandoc.Div(pandoc.Plain("This is a note")) },
55
caption = "Note title"
6-
}))
6+
})
7+
print(c)
8+
doc.blocks:insert(pandoc.Plain(c))
79
return doc
810
end

0 commit comments

Comments
 (0)