aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extensions-x-toc
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2009-05-30 22:29:56 -0400
committerWaylan Limberg <waylan@gmail.com>2009-06-05 22:25:51 -0400
commitcc452998dc1af441cf3f9c5d0c7287cb5de48c4a (patch)
treef138bb00542b47bf382d4ba8f10f0d2a9470ccfe /tests/extensions-x-toc
parent0ae9951f49eb75c8a9fb9f841673b889763c1811 (diff)
downloadmarkdown-cc452998dc1af441cf3f9c5d0c7287cb5de48c4a.tar.gz
markdown-cc452998dc1af441cf3f9c5d0c7287cb5de48c4a.tar.bz2
markdown-cc452998dc1af441cf3f9c5d0c7287cb5de48c4a.zip
Initial implementation of nose testing. Still some cleanup to do, but this shows the differances between the old and the new. Also left one test failing (unsignificant white space only) to demonstrate what a failing test looks like.
Diffstat (limited to 'tests/extensions-x-toc')
-rw-r--r--tests/extensions-x-toc/syntax-toc.html10
-rw-r--r--tests/extensions-x-toc/test.cfg2
2 files changed, 7 insertions, 5 deletions
diff --git a/tests/extensions-x-toc/syntax-toc.html b/tests/extensions-x-toc/syntax-toc.html
index eea5347..3559d45 100644
--- a/tests/extensions-x-toc/syntax-toc.html
+++ b/tests/extensions-x-toc/syntax-toc.html
@@ -461,12 +461,12 @@ on a line by itself:</p>
<p>That is:</p>
<ul>
<li>Square brackets containing the link identifier (optionally
-indented from the left margin using up to three spaces);</li>
+ indented from the left margin using up to three spaces);</li>
<li>followed by a colon;</li>
<li>followed by one or more spaces (or tabs);</li>
<li>followed by the URL for the link;</li>
<li>optionally followed by a title attribute for the link, enclosed
-in double or single quotes.</li>
+ in double or single quotes.</li>
</ul>
<p>The link URL may, optionally, be surrounded by angle brackets:</p>
<pre><code>[id]: &lt;http://example.com/&gt; "Optional Title Here"
@@ -634,10 +634,10 @@ for links, allowing for two styles: <em>inline</em> and <em>reference</em>.</p>
<ul>
<li>An exclamation mark: <code>!</code>;</li>
<li>followed by a set of square brackets, containing the <code>alt</code>
-attribute text for the image;</li>
+ attribute text for the image;</li>
<li>followed by a set of parentheses, containing the URL or path to
-the image, and an optional <code>title</code> attribute enclosed in double
-or single quotes.</li>
+ the image, and an optional <code>title</code> attribute enclosed in double
+ or single quotes.</li>
</ul>
<p>Reference-style image syntax looks like this:</p>
<pre><code>![Alt text][id]
diff --git a/tests/extensions-x-toc/test.cfg b/tests/extensions-x-toc/test.cfg
new file mode 100644
index 0000000..e4bc0fe
--- /dev/null
+++ b/tests/extensions-x-toc/test.cfg
@@ -0,0 +1,2 @@
+[DEFAULT]
+extensions=toc