Skip to content

Commit 012c280

Browse files
committed
Promote tests following removal of autogen id for headings
1 parent 3dbaf73 commit 012c280

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

test/compiler/multi-file.t/run.t

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ $ cp main.html /tmp/
2929
$ show_source main.html | grep -A 11 "class=\"slip-body"
3030
<div class="slip-body">
3131
<div>
32-
<h1 id="a-title"><a class="anchor" aria-hidden="true" href="#a-title"></a><span>A title</span></h1>
33-
<h2 id="chapter-1"><a class="anchor" aria-hidden="true" href="#chapter-1"></a><span>Chapter 1</span></h2>
32+
<h1><span>A title</span></h1>
33+
<h2><span>Chapter 1</span></h2>
3434
<div src=chapter1.md include>
3535
<p><span>Hello! How are you?</span></p>
3636
</div>
37-
<h2 id="chapter-2" pause><a class="anchor" aria-hidden="true" href="#chapter-2"></a><span>Chapter 2</span></h2>
37+
<h2 pause><span>Chapter 2</span></h2>
3838
<div pause src="chapter2/chapter2.md" include>
3939
<p><span>I am the chapter 2 </span><span pause></span><span> and I consist of two parts:</span></p>
4040
<h3><span>Part 1</span></h3>

test/compiler/simple.t/run.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ We can compile the file using the slip_of_mark binary
1313
<div class="slip">
1414
<div class="slip-body">
1515
<div>
16-
<h1 id="a-title"><a class="anchor" aria-hidden="true" href="#a-title"></a><span>A title</span></h1>
16+
<h1><span>A title</span></h1>
1717
<div pause></div>
1818
<p><span>A word </span><span id="id" emph-at-unpause step>and</span><span> some other words.</span></p>
1919
<div pause></div>
@@ -53,7 +53,7 @@ If we do not pass an input file, it gets its value from stdin
5353
<div class="slip">
5454
<div class="slip-body">
5555
<div>
56-
<h1 id="title"><a class="anchor" aria-hidden="true" href="#title"></a><span>Title</span></h1>
56+
<h1><span>Title</span></h1>
5757
<p><span>Paragraph</span></p>
5858

5959
If we give neither the input nor the output, stdin and stdout are used:

0 commit comments

Comments
 (0)