import soon/columnize import std/[unittest, terminal] test "Testing columnize": var table = newSeq[Line]() table.add(Line(columns: @[ Column(text: "Jan 1", color: fgWhite), Column(text: "(OVERDUE)", color: fgRed), Column(text: "Do the thing", color: fgBlue) ], attachments: @[])) table.add(Line(columns: @[ Column(text: "Feb 22", color: fgWhite), Column(text: "(Due in 24 days)", color: fgGreen), Column(text: "Do that other thing", color: fgBlue) ], attachments: @[])) columnize.echo(table)