Skip to content

Commit

Permalink
Fix litcoffee test fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuki Izumi committed Mar 22, 2017
1 parent b0a461e commit e6f1ce6
Showing 1 changed file with 15 additions and 26 deletions.
41 changes: 15 additions & 26 deletions test/markups/README.litcoffee.html
@@ -1,43 +1,28 @@
<h2>Literate CoffeeScript Test</h2>

<blockquote>
<p>Taken from https://github.com/jashkenas/coffee-script/blob/master/test/literate.litcoffee</p>
<p>Taken from <a href="https://github.com/jashkenas/coffee-script/blob/master/test/literate.litcoffee">https://github.com/jashkenas/coffee-script/blob/master/test/literate.litcoffee</a></p>
</blockquote>

<p>comment comment</p>

<pre><code>test "basic literate CoffeeScript parsing", -&gt;
ok yes
</code></pre>

<p>now with a...</p>

<pre><code>test "broken up indentation", -&gt;
</code></pre>

<p>... broken up ...</p>

<pre><code> do -&gt;
</code></pre>

<p>... nested block.</p>

<pre><code> ok yes
</code></pre>

<p>Code must be separated from text by a blank line.</p>

<pre><code>test "code blocks must be preceded by a blank line", -&gt;
</code></pre>

<p>The next line is part of the text and will not be executed.
fail()</p>

fail()</p>
<pre><code> ok yes
</code></pre>

<p>Code in <code>backticks is not parsed</code> and...</p>

<pre><code>test "comments in indented blocks work", -&gt;
do -&gt;
do -&gt;
Expand All @@ -49,18 +34,22 @@ <h2>Literate CoffeeScript Test</h2>

ok yes
</code></pre>

<p>Regular <a href="http://example.com/markdown">Markdown</a> features,
like links and unordered lists, are fine:</p>

<ul>
<li><p>I</p></li>
<li><p>Am</p></li>
<li><p>A</p></li>
<li><p>List</p></li>
<li>
<p>I</p>
</li>
<li>
<p>Am</p>
</li>
<li>
<p>A</p>
</li>
<li>
<p>List</p>
</li>
</ul>

<p>Tabs work too:</p>

<p>test "tabbed code", -&gt;
ok yes</p>
ok yes</p>

0 comments on commit e6f1ce6

Please sign in to comment.