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_a.py | |
| parent | 0b96d1ba8b0fb03628a57e255b39243c66751038 (diff) | |
| download | python-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.py | 4 |
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 < 2:<", - " a = 3", + "<span class='key'>if</span> <span class='num'>1</span> <span class='op'><</span> <span class='num'>2</span>", + " <span class='nam'>a</span> <span class='op'>=</span> <span class='num'>3</span>", "<span class='pc_cov'>67%</span>" ) contains("html/index.html", |
