diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2009-09-23 11:00:53 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-09-23 11:00:53 -0400 |
commit | e3ff72a32401f97b4e3f8e627780c87366d62414 (patch) | |
tree | 9b965e865b7f3da28933dae40bd73a7b539a39c4 /test/farm/html/run_tabbed.py | |
parent | 0b96d1ba8b0fb03628a57e255b39243c66751038 (diff) | |
download | python-coveragepy-git-e3ff72a32401f97b4e3f8e627780c87366d62414.tar.gz |
Syntax coloring in the HTML reports.
Diffstat (limited to 'test/farm/html/run_tabbed.py')
-rw-r--r-- | test/farm/html/run_tabbed.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/farm/html/run_tabbed.py b/test/farm/html/run_tabbed.py index c49bdfbd..88ffcaef 100644 --- a/test/farm/html/run_tabbed.py +++ b/test/farm/html/run_tabbed.py @@ -13,6 +13,10 @@ runfunc(html_it, rundir="src") contains("src/tabbed.py", "\tif x:\t\t\t\t\t\t# look nice") contains("html/tabbed.html", - "<p class='stm run hide'> if x: # look nice</p>") + "> <span class='key'>if</span> <span class='nam'>x</span>" + "<span class='op'>:</span> " + " <span class='com'># look nice</span>" + ) + doesnt_contain("html/tabbed.html", "\t") clean("html") |