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
commitc4b8bbcc019167cc72bf03aa6842630e27d54b97 (patch)
treee866be6e9fbf4af8ec95e5ea20ca899dd7392910 /test/farm/html/run_tabbed.py
parent7dd6a0658ded9014d5f400afe0b3e7d502c24ea9 (diff)
downloadpython-coveragepy-c4b8bbcc019167cc72bf03aa6842630e27d54b97.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 c49bdfb..88ffcae 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")