Skip to content

Commit 752dda9

Browse files
add another test case for tt tag
1 parent 9419bf3 commit 752dda9

File tree

5 files changed

+40
-13
lines changed

5 files changed

+40
-13
lines changed

testdata/TestCommonmark/pre_code/goldmark.golden

+5-1
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,14 @@ Cool!
102102

103103
</code></pre>
104104
<hr>
105-
<p>The telnet client should display: <code>Local Echo is on</code></p>
106105
<p>A simple equation: x = y + 2</p>
107106
<p>When the process is complete, the utility will output the text
108107
<code>Scan complete. Found N results.</code> You can then
109108
proceed to the next step.</p>
110109
<p>Use the command <code>help mycommand</code> to view documentation
111110
for the command &quot;mycommand&quot;.</p>
111+
<p>The telnet client should display: <code>Local Echo is on</code></p>
112+
<p>The operator <code>(#)</code> takes a bit <code>x</code> and a
113+
sequence <code>a</code> and produces a new sequence <code>x # a</code> with
114+
<code>x</code> as the head and <code>a</code> as the tail (very much like the
115+
built-in operation <code>(:)</code> for lists):</p>

testdata/TestCommonmark/pre_code/input.html

+11-3
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,6 @@ <h4 id="html">HTML:</h4>
218218

219219

220220

221-
<!-- The Teletype Text element -->
222-
<p>The telnet client should display: <tt>Local Echo is on</tt></p>
223-
224221

225222
<!-- The Variable element -->
226223
<p>A simple equation: <var>x</var> = <var>y</var> + 2 </p>
@@ -235,3 +232,14 @@ <h4 id="html">HTML:</h4>
235232
<!-- The Keyboard Input element -->
236233
<p>Use the command <kbd>help mycommand</kbd> to view documentation
237234
for the command "mycommand".</p>
235+
236+
237+
<!-- The Teletype Text element -->
238+
<p>The telnet client should display: <tt>Local Echo is on</tt></p>
239+
240+
241+
<!-- http://math.andrej.com/2007/09/28/seemingly-impossible-functional-programs/ -->
242+
<p>The operator <tt>(#)</tt> takes a bit <tt>x</tt> and a
243+
sequence <tt>a</tt> and produces a new sequence <tt>x # a</tt> with
244+
<tt>x</tt> as the head and <tt>a</tt> as the tail (very much like the
245+
built-in operation <tt>(:)</tt> for lists):</p>

testdata/TestCommonmark/pre_code/output.fenced_backtick.golden

+8-3
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,18 @@ Cool!
168168

169169
* * *
170170

171-
The telnet client should display: `Local Echo is on`
172-
173171
A simple equation: x = y \+ 2
174172

175173
When the process is complete, the utility will output the text
176174
`Scan complete. Found N results.` You can then
177175
proceed to the next step.
178176

179177
Use the command `help mycommand` to view documentation
180-
for the command "mycommand".
178+
for the command "mycommand".
179+
180+
The telnet client should display: `Local Echo is on`
181+
182+
The operator `(#)` takes a bit `x` and a
183+
sequence `a` and produces a new sequence `x # a` with
184+
`x` as the head and `a` as the tail (very much like the
185+
built-in operation `(:)` for lists):

testdata/TestCommonmark/pre_code/output.fenced_tilde.golden

+8-3
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,18 @@ Cool!
168168

169169
* * *
170170

171-
The telnet client should display: `Local Echo is on`
172-
173171
A simple equation: x = y \+ 2
174172

175173
When the process is complete, the utility will output the text
176174
`Scan complete. Found N results.` You can then
177175
proceed to the next step.
178176

179177
Use the command `help mycommand` to view documentation
180-
for the command "mycommand".
178+
for the command "mycommand".
179+
180+
The telnet client should display: `Local Echo is on`
181+
182+
The operator `(#)` takes a bit `x` and a
183+
sequence `a` and produces a new sequence `x # a` with
184+
`x` as the head and `a` as the tail (very much like the
185+
built-in operation `(:)` for lists):

testdata/TestCommonmark/pre_code/output.indented.golden

+8-3
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,18 @@ Cool!
168168

169169
* * *
170170

171-
The telnet client should display: `Local Echo is on`
172-
173171
A simple equation: x = y \+ 2
174172

175173
When the process is complete, the utility will output the text
176174
`Scan complete. Found N results.` You can then
177175
proceed to the next step.
178176

179177
Use the command `help mycommand` to view documentation
180-
for the command "mycommand".
178+
for the command "mycommand".
179+
180+
The telnet client should display: `Local Echo is on`
181+
182+
The operator `(#)` takes a bit `x` and a
183+
sequence `a` and produces a new sequence `x # a` with
184+
`x` as the head and `a` as the tail (very much like the
185+
built-in operation `(:)` for lists):

0 commit comments

Comments
 (0)