summaryrefslogtreecommitdiff
path: root/test/farm/html/run_tabbed.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-09-23 11:00:53 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-09-23 11:00:53 -0400
commite3ff72a32401f97b4e3f8e627780c87366d62414 (patch)
tree9b965e865b7f3da28933dae40bd73a7b539a39c4 /test/farm/html/run_tabbed.py
parent0b96d1ba8b0fb03628a57e255b39243c66751038 (diff)
downloadpython-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.py6
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'>&nbsp; &nbsp; if x:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; # look nice</p>")
+ ">&nbsp; &nbsp; <span class='key'>if</span> <span class='nam'>x</span>"
+ "<span class='op'>:</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"
+ " &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; <span class='com'># look nice</span>"
+ )
+
doesnt_contain("html/tabbed.html", "\t")
clean("html")