summaryrefslogtreecommitdiff
path: root/test/farm/html/run_a.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_a.py
parent0b96d1ba8b0fb03628a57e255b39243c66751038 (diff)
downloadpython-coveragepy-git-e3ff72a32401f97b4e3f8e627780c87366d62414.tar.gz
Syntax coloring in the HTML reports.
Diffstat (limited to 'test/farm/html/run_a.py')
-rw-r--r--test/farm/html/run_a.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/farm/html/run_a.py b/test/farm/html/run_a.py
index ab0da42e..4a8a0514 100644
--- a/test/farm/html/run_a.py
+++ b/test/farm/html/run_a.py
@@ -13,8 +13,8 @@ runfunc(html_it, rundir="src")
# and check that certain key strings are in the output.
compare("html", "gold_a", size_within=10)
contains("html/a.html",
- ">if 1 &lt; 2:<",
- "&nbsp; &nbsp; a = 3",
+ "<span class='key'>if</span> <span class='num'>1</span> <span class='op'>&lt;</span> <span class='num'>2</span>",
+ "&nbsp; &nbsp; <span class='nam'>a</span> <span class='op'>=</span> <span class='num'>3</span>",
"<span class='pc_cov'>67%</span>"
)
contains("html/index.html",