aboutsummaryrefslogtreecommitdiff
path: root/src/callout.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/callout.zig')
-rw-r--r--src/callout.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/callout.zig b/src/callout.zig
index 9c5bab5..1c756d6 100644
--- a/src/callout.zig
+++ b/src/callout.zig
@@ -57,17 +57,17 @@ test "callout" {
\\:::
\\hey
\\:::
- , "<div class=\"callout\"><p>hey</p></div>");
+ , "<div data-callout=\"default\" class=\"callout\"><h4>default</h4><p>hey</p></div>");
try doTest(parse, alloc,
\\:::info
\\hey
\\:::
- , "<div data-callout=\"info\" class=\"callout\"><p>hey</p></div>");
+ , "<div data-callout=\"info\" class=\"callout\"><h4>info</h4><p>hey</p></div>");
try doTest(parse, alloc,
\\::: info Title
\\hey
\\:::
- , "<div data-callout=\"info\" class=\"callout\"><p>hey</p></div>");
+ , "<div data-callout=\"info\" class=\"callout\"><h4>Title</h4><p>hey</p></div>");
// cannot test content with \n
try doTestError(parse, alloc, ":::", Error.InvalidCallout);