Ran
|
Files
154
|
Run time
11s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/wikimedia/parsoid/commit/<a class=hub.com/wikimedia/parsoid/commit/<a class="double-link" href="https://git"><a class=hub.com/wikimedia/parsoid/commit/<a class="double-link" href="https://git"><a class=hub.com/wikimedia/parsoid/commit/<a class="double-link" href="https://git"><a class=hub.com/wikimedia/parsoid/commit/<a class="double-link" href="https://git"><a class=hub.com/wikimedia/parsoid/commit/9d07c6201d16bbc8fd982b629de665554d03a27a">9d07c6201"><a href="https://github.com/wikimedia/parsoid/commit/</a><a class="double-link" href="https://github.com/wikimedia/parsoid/commit/<a class="double-link" href="https://git"><a class=</a>hub.com/wikimedia/parsoid/commit/<a class="double-link" href="https://git"><a class=</a>hub.com/wikimedia/parsoid/commit/<a class="double-link" href="https://git"><a class=</a>hub.com/wikimedia/parsoid/commit/9d07c6201d16bbc8fd982b629de665554d03a27a">9d07c6201</a><a href="https://github.com/wikimedia/parsoid/commit/9d07c6201d16bbc8fd982b629de665554d03a27a"><a href="https://github.com/wikimedia/parsoid/commit/9d07c6201d16bbc8fd982b629de665554d03a27a">&quot;&gt;&amp;lt;a href=&amp;quot;https://github.com/wikimedia/parsoid/commit/&lt;/a&gt;&lt;a class=&quot;double-link&quot; href=&quot;https://github.com/wikimedia/parsoid/commit/9d07c6201d16bbc8fd982b629de665554d03a27a&quot;&gt;9d07c6201&lt;/a&gt;&lt;a href=&quot;https://github.com/wikimedia/parsoid/commit/9d07c6201d16bbc8fd982b629de665554d03a27a&quot;&gt;&amp;quot;&amp;gt;Test case for implicit newline insertion when expanding templates Parsoid currently does this correctly in production because it calls `expandTemplates` via the API and the necessary newlines are inserted magically. But the native expansion (used by parserTests) is incorrect, because we expand the template arguments before knowing the correct sol context, and so a template where the argument appears first (like Template:Echo) has argument #1 expanded in non-SOL context. When we later splice in the argument tokens, they are still in non-SOL context (ie, a literal `#` not a &amp;amp;lt;li&amp;amp;gt; token) and so adding an extra `\n` to the token stream makes no difference. If we eventu... (continued)
9663 of 12132 branches covered (79.65%)
15153 of 17854 relevant lines covered (84.87%)
34468.3 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|