From 37f6f7e8fbe70076c832ea9909c4229a03afb6df Mon Sep 17 00:00:00 2001 From: Arne Keller Date: Sun, 28 Mar 2021 14:29:18 +0200 Subject: [PATCH] Fix tests --- src/test.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/test.rs b/src/test.rs index 9dc3637..971a222 100644 --- a/src/test.rs +++ b/src/test.rs @@ -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\