table improvements

This commit is contained in:
Will McGugan 2020-06-30 21:40:11 +01:00
parent a7396aa6b8
commit 11c0022439
12 changed files with 76 additions and 21 deletions

View file

@ -61,7 +61,7 @@ def render_tables():
console.print(table)
table.width = 20
assert Measurement.get(console, table, 80) == Measurement(46, 52)
assert Measurement.get(console, table, 80) == Measurement(20, 20)
console.print(table)
return console.file.getvalue()