File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -139,8 +139,8 @@ describe('HyperDown.js', function() {
139
139
assert . equal ( '<pre><code>a</code></pre><hr>' , parser . makeHtml ( '```\na\n```\n---' ) ) ;
140
140
} ) ;
141
141
it ( 'list + code' , function ( ) {
142
- var codeInList = "1. 1111\n 1111\n\n 1111\`operator new\` 在分配内存失败的情况下会调用 \`new_handler\` 尝试让系统释放点内存,然后再次尝试申请内存。如果这时系统中内存确实紧张,即使调用。" ;
143
- assert . equal ( '<ol><li>1111<br>1111</p><p>1111<code>operator new</code> 在分配内存失败的情况下会调用 <code>new_handler</code> 尝试让系统释放点内存,然后再次尝试申请内存。如果这时系统中内存确实紧张,即使调用。</li></ol>' , parser . makeHtml ( codeInList ) ) ;
142
+ var codeInList = "1. 1111\n 1111\n\n 1111\`operator new\` 在分配内存失败的情况下会调用 \`new_handler\` 尝试让系统释放点内存,然后再次尝试申请内存。如果这时系统中内存确实紧张,即使调用。" ;
143
+ assert . equal ( '<ol><li><p> 1111<br>1111</p><p>1111<code>operator new</code> 在分配内存失败的情况下会调用 <code>new_handler</code> 尝试让系统释放点内存,然后再次尝试申请内存。如果这时系统中内存确实紧张,即使调用。</p> </li></ol>' , parser . makeHtml ( codeInList ) ) ;
144
144
} ) ;
145
145
} ) ;
146
146
You can’t perform that action at this time.
0 commit comments