add Lists.tests

This commit is contained in:
Krzysztof Kowalczyk 2019-02-02 23:34:41 -08:00
parent dcc87c7dec
commit 17c6be0bec
2 changed files with 21 additions and 0 deletions

View File

@ -215,3 +215,9 @@ func TestCodeInList(t *testing.T) {
exts := parser.CommonExtensions
doTestsParam(t, tests, TestParams{extensions: exts})
}
func TestLists(t *testing.T) {
tests := readTestFile2(t, "Lists.tests")
exts := parser.CommonExtensions
doTestsParam(t, tests, TestParams{extensions: exts})
}

15
testdata/Lists.tests vendored Normal file
View File

@ -0,0 +1,15 @@
1. This is the code in the Text Editor:
```
using System;
namespace FirstCsharp
```
+++
<ol>
<li>This is the code in the Text Editor:</li>
</ol>
<pre><code>using System;
namespace FirstCsharp
</code></pre>