aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extensions
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2012-01-20 06:01:57 -0500
committerWaylan Limberg <waylan@gmail.com>2012-01-20 06:01:57 -0500
commit67cee51de286f73afdb622660d4e930fa41b84d9 (patch)
tree0ed80e10e656e6e6c86587325a8096359674927b /tests/extensions
parentdfec5a1a062718caedc24a99c9f31e9fa4a36d15 (diff)
downloadmarkdown-67cee51de286f73afdb622660d4e930fa41b84d9.tar.gz
markdown-67cee51de286f73afdb622660d4e930fa41b84d9.tar.bz2
markdown-67cee51de286f73afdb622660d4e930fa41b84d9.zip
Removed Codehilite from tests.
Codehilite generates differant output with differant versiosn of pygments. We support those various versions of pygments but can't unsure that the same version is always available on every platform tests are run on.
Diffstat (limited to 'tests/extensions')
-rw-r--r--tests/extensions/github_flavored.html62
-rw-r--r--tests/extensions/test.cfg2
2 files changed, 32 insertions, 32 deletions
diff --git a/tests/extensions/github_flavored.html b/tests/extensions/github_flavored.html
index 60e16b1..42577dc 100644
--- a/tests/extensions/github_flavored.html
+++ b/tests/extensions/github_flavored.html
@@ -1,32 +1,32 @@
<p>index 0000000..6e956a9</p>
-<div class="codehilite"><pre><span class="gd">--- /dev/null</span>
-<span class="gi">+++ b/test/data/stripped_text/mike-30-lili</span>
-<span class="gu">@@ -0,0 +1,27 @@</span>
-<span class="gi">+Summary:</span>
-<span class="gi">+ drift_mod.py | 1 +</span>
-<span class="gi">+ 1 files changed, 1 insertions(+), 0 deletions(-)</span>
-<span class="gi">+</span>
-<span class="gi">+commit da4bfb04debdd994683740878d09988b2641513d</span>
-<span class="gi">+Author: Mike Dirolf &lt;mike@dirolf.com&gt;</span>
-<span class="gi">+Date: Tue Jan 17 13:42:28 2012 -0500</span>
-<span class="gi">+</span>
-<span class="gi">+```</span>
-<span class="gi">+minor: just wanted to push something.</span>
-<span class="gi">+```</span>
-<span class="gi">+</span>
-<span class="gi">+diff --git a/drift_mod.py b/drift_mod.py</span>
-<span class="gi">+index 34dfba6..8a88a69 100644</span>
-<span class="gi">+</span>
-<span class="gi">+```</span>
-<span class="gi">+--- a/drift_mod.py</span>
-<span class="gi">++++ b/drift_mod.py</span>
-<span class="gi">+@@ -281,6 +281,7 @@ CONTEXT_DIFF_LINE_PATTERN = re.compile(r&#39;^(&#39;</span>
-<span class="gi">+ &#39;|\+ .*&#39;</span>
-<span class="gi">+ &#39;|- .*&#39;</span>
-<span class="gi">+ &#39;)$&#39;)</span>
-<span class="gi">++</span>
-<span class="gi">+ def wrap_context_diffs(message_text):</span>
-<span class="gi">+ return _wrap_diff(CONTEXT_DIFF_HEADER_PATTERN,</span>
-<span class="gi">+ CONTEXT_DIFF_LINE_PATTERN,</span>
-<span class="gi">+```</span>
-</pre></div> \ No newline at end of file
+<pre><code class="diff">--- /dev/null
++++ b/test/data/stripped_text/mike-30-lili
+@@ -0,0 +1,27 @@
++Summary:
++ drift_mod.py | 1 +
++ 1 files changed, 1 insertions(+), 0 deletions(-)
++
++commit da4bfb04debdd994683740878d09988b2641513d
++Author: Mike Dirolf &lt;mike@dirolf.com&gt;
++Date: Tue Jan 17 13:42:28 2012 -0500
++
++```
++minor: just wanted to push something.
++```
++
++diff --git a/drift_mod.py b/drift_mod.py
++index 34dfba6..8a88a69 100644
++
++```
++--- a/drift_mod.py
+++++ b/drift_mod.py
++@@ -281,6 +281,7 @@ CONTEXT_DIFF_LINE_PATTERN = re.compile(r'^('
++ '|\+ .*'
++ '|- .*'
++ ')$')
+++
++ def wrap_context_diffs(message_text):
++ return _wrap_diff(CONTEXT_DIFF_HEADER_PATTERN,
++ CONTEXT_DIFF_LINE_PATTERN,
++```
+</code></pre> \ No newline at end of file
diff --git a/tests/extensions/test.cfg b/tests/extensions/test.cfg
index ebe9a8f..19721ce 100644
--- a/tests/extensions/test.cfg
+++ b/tests/extensions/test.cfg
@@ -25,4 +25,4 @@ extensions=wikilinks
extensions=fenced_code
[github_flavored]
-extensions=codehilite,fenced_code
+extensions=fenced_code