Fix tests

This commit is contained in:
Arne Keller 2021-03-28 14:29:18 +02:00
parent 7fffb5d93b
commit 37f6f7e8fb

View File

@ -19,6 +19,7 @@ fn cube_config() -> AsciiTable {
fn backwards_compatible() {
AsciiTable {
max_width: 0,
draw_lines: true,
columns: BTreeMap::new()
};
Column {
@ -461,7 +462,7 @@ fn align_right() {
let input = vec![&[1], &[23], &[456]];
let expected = "┌─────┐\n\
a \n\
a \n\
\n\
1 \n\
23 \n\
@ -478,7 +479,7 @@ fn align_center() {
let input = vec![&[1], &[23], &[456], &[7890], &[12345]];
let expected = "┌───────┐\n\
a \n\
a \n\
\n\
1 \n\
23 \n\