summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-11-23 21:29:21 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-11-23 21:29:21 -0800
commitb20ecbedc4e09a40aa42fe4e505c0cd097f23ee7 (patch)
tree2d72b6d570b97a80552799ff03300071ba13b00e /tests
parent4361dc0245a65d4f24f2df062684cdb1a0c3bc5a (diff)
AsciiDoc writer: Fixed code blocks.
Closes #1861.
Diffstat (limited to 'tests')
-rw-r--r--tests/writer.asciidoc40
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/writer.asciidoc b/tests/writer.asciidoc
index 83869df39..8d0973675 100644
--- a/tests/writer.asciidoc
+++ b/tests/writer.asciidoc
@@ -80,11 +80,11 @@ ______________________
--
Code in a block quote:
---------------------
+....
sub status {
print "working";
}
---------------------
+....
A list:
@@ -116,7 +116,7 @@ Code Blocks
Code:
---------------------------------------
+....
---- (should be four hyphens)
sub status {
@@ -124,15 +124,15 @@ sub status {
}
this code block is indented by one tab
---------------------------------------
+....
And:
---------------------------------------------
+....
this code block is indented by two tabs
These should not be escaped: \$ \\ \> \[ \{
---------------------------------------------
+....
'''''
@@ -325,9 +325,9 @@ _apple_::
_orange_::
orange fruit
+
----------------------
+....
{ orange code block }
----------------------
+....
+
__________________
orange block quote
@@ -393,17 +393,17 @@ foo
This should be a code block, though:
--------
+....
<div>
foo
</div>
--------
+....
As should this:
---------------
+....
<div>foo</div>
---------------
+....
Now, nested:
@@ -415,17 +415,17 @@ Multiline:
Code block:
-----------------
+....
<!-- Comment -->
-----------------
+....
Just plain comment, with trailing spaces on the line:
Code:
-------
+....
<hr />
-------
+....
Hr’s:
@@ -616,9 +616,9 @@ Indented link:/url[thrice].
This should [not][] be a link.
------------
+....
[not]: /url
------------
+....
Foo link:/url/[bar].
@@ -654,9 +654,9 @@ ________________________________
Auto-links should not occur here: `<http://example.com/>`
-------------------------------
+....
or here: <http://example.com/>
-------------------------------
+....
'''''