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 | c4b8bbcc019167cc72bf03aa6842630e27d54b97 (patch) | |
| tree | e866be6e9fbf4af8ec95e5ea20ca899dd7392910 /test/farm/html/run_tabbed.py | |
| parent | 7dd6a0658ded9014d5f400afe0b3e7d502c24ea9 (diff) | |
| download | python-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.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 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'> 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") |
