fixed graphics module

This commit is contained in:
Andreas Rumpf 2010-03-03 16:58:33 +01:00
commit 048811b2be
6 changed files with 2742 additions and 134 deletions

View file

@ -99,7 +99,7 @@ proc colorBool(b: bool): string =
else: result = "<span color:\"red\">no</span>"
proc `$`(r: TResults): string =
result = "<table><tr><td>Test</td><td>Expected</td>" &
result = "<table border=\"1\"><tr><td>Test</td><td>Expected</td>" &
"<td>Given</td><td>Success</td></tr>\n"
for test, expected, given, success in items(r.data):
result.add("<tr><td>$#</td><td>$#</td><td>$#</td><td>$#</td></tr>\n" % [