diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2019-07-04 17:15:38 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2019-07-06 10:04:31 -0400 |
| commit | cfdcacea473dede9fb779256c812ff6a098a0714 (patch) | |
| tree | 89a05ea92b2048a6b0653b8f4aae8fb374e4a4ec /tests/gold/html/other | |
| parent | 25aff80d444a6b1fa87173ffd8026f69be7ae0d0 (diff) | |
| download | python-coveragepy-git-cfdcacea473dede9fb779256c812ff6a098a0714.tar.gz | |
HTML: Mark things to show instead of to hide.
Also made some other changes along the way:
* Scroll bar markers change as the selected categories change.
* We don't use css class 'stm' for anything, get rid of it.
* Better sass use all around.
Diffstat (limited to 'tests/gold/html/other')
| -rw-r--r-- | tests/gold/html/other/blah_blah_other_py.html | 10 | ||||
| -rw-r--r-- | tests/gold/html/other/here_py.html | 22 |
2 files changed, 16 insertions, 16 deletions
diff --git a/tests/gold/html/other/blah_blah_other_py.html b/tests/gold/html/other/blah_blah_other_py.html index 36e3653d..215ee7f1 100644 --- a/tests/gold/html/other/blah_blah_other_py.html +++ b/tests/gold/html/other/blah_blah_other_py.html @@ -22,9 +22,9 @@ <img id="keyboard_icon" src="keybd_closed.png" alt="Show keyboard shortcuts" /> <h2 class="stats"> 1 statements - <span class="run hide_run shortkey_r button_toggle_run">1 run</span> - <span class="mis shortkey_m button_toggle_mis">0 missing</span> - <span class="exc shortkey_x button_toggle_exc">0 excluded</span> + <span class="run shortkey_r button_toggle_run">1 run</span> + <span class="mis show_mis shortkey_m button_toggle_mis">0 missing</span> + <span class="exc show_exc shortkey_x button_toggle_exc">0 excluded</span> </h2> </div> </div> @@ -57,13 +57,13 @@ <p id="n1" class="pln"><a href="#n1">1</a></p> <p id="n2" class="pln"><a href="#n2">2</a></p> <p id="n3" class="pln"><a href="#n3">3</a></p> -<p id="n4" class="stm run hide_run"><a href="#n4">4</a></p> +<p id="n4" class="run"><a href="#n4">4</a></p> </td> <td class="text"> <p id="t1" class="pln"><span class="com"># A file in another directory. We're checking that it ends up in the</span><span class="strut"> </span></p> <p id="t2" class="pln"><span class="com"># HTML report.</span><span class="strut"> </span></p> <p id="t3" class="pln"><span class="strut"> </span></p> -<p id="t4" class="stm run hide_run"><span class="nam">print</span><span class="op">(</span><span class="str">"This is the other src!"</span><span class="op">)</span><span class="strut"> </span></p> +<p id="t4" class="run"><span class="nam">print</span><span class="op">(</span><span class="str">"This is the other src!"</span><span class="op">)</span><span class="strut"> </span></p> </td> </tr> </table> diff --git a/tests/gold/html/other/here_py.html b/tests/gold/html/other/here_py.html index 8efa027a..962b04c0 100644 --- a/tests/gold/html/other/here_py.html +++ b/tests/gold/html/other/here_py.html @@ -22,9 +22,9 @@ <img id="keyboard_icon" src="keybd_closed.png" alt="Show keyboard shortcuts" /> <h2 class="stats"> 4 statements - <span class="run hide_run shortkey_r button_toggle_run">3 run</span> - <span class="mis shortkey_m button_toggle_mis">1 missing</span> - <span class="exc shortkey_x button_toggle_exc">0 excluded</span> + <span class="run shortkey_r button_toggle_run">3 run</span> + <span class="mis show_mis shortkey_m button_toggle_mis">1 missing</span> + <span class="exc show_exc shortkey_x button_toggle_exc">0 excluded</span> </h2> </div> </div> @@ -54,20 +54,20 @@ <table> <tr> <td class="linenos"> -<p id="n1" class="stm run hide_run"><a href="#n1">1</a></p> +<p id="n1" class="run"><a href="#n1">1</a></p> <p id="n2" class="pln"><a href="#n2">2</a></p> -<p id="n3" class="stm run hide_run"><a href="#n3">3</a></p> -<p id="n4" class="stm run hide_run"><a href="#n4">4</a></p> +<p id="n3" class="run"><a href="#n3">3</a></p> +<p id="n4" class="run"><a href="#n4">4</a></p> <p id="n5" class="pln"><a href="#n5">5</a></p> -<p id="n6" class="stm mis"><a href="#n6">6</a></p> +<p id="n6" class="mis show_mis"><a href="#n6">6</a></p> </td> <td class="text"> -<p id="t1" class="stm run hide_run"><span class="key">import</span> <span class="nam">other</span><span class="strut"> </span></p> +<p id="t1" class="run"><span class="key">import</span> <span class="nam">other</span><span class="strut"> </span></p> <p id="t2" class="pln"><span class="strut"> </span></p> -<p id="t3" class="stm run hide_run"><span class="key">if</span> <span class="num">1</span> <span class="op"><</span> <span class="num">2</span><span class="op">:</span><span class="strut"> </span></p> -<p id="t4" class="stm run hide_run"> <span class="nam">h</span> <span class="op">=</span> <span class="num">3</span><span class="strut"> </span></p> +<p id="t3" class="run"><span class="key">if</span> <span class="num">1</span> <span class="op"><</span> <span class="num">2</span><span class="op">:</span><span class="strut"> </span></p> +<p id="t4" class="run"> <span class="nam">h</span> <span class="op">=</span> <span class="num">3</span><span class="strut"> </span></p> <p id="t5" class="pln"><span class="key">else</span><span class="op">:</span><span class="strut"> </span></p> -<p id="t6" class="stm mis"> <span class="nam">h</span> <span class="op">=</span> <span class="num">4</span><span class="strut"> </span></p> +<p id="t6" class="mis show_mis"> <span class="nam">h</span> <span class="op">=</span> <span class="num">4</span><span class="strut"> </span></p> </td> </tr> </table> |
