From 50d0465802d52819f0aab688c1cc8ce61dfa238f Mon Sep 17 00:00:00 2001 From: Maxim Zhiburt Date: Wed, 18 Dec 2024 00:22:34 +0300 Subject: [PATCH] Fix tests --- crates/nu-table/tests/constrains.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/nu-table/tests/constrains.rs b/crates/nu-table/tests/constrains.rs index 8f8b9a4ca2..98c908a118 100644 --- a/crates/nu-table/tests/constrains.rs +++ b/crates/nu-table/tests/constrains.rs @@ -27,7 +27,9 @@ fn data_and_header_has_different_size_doesnt_work() { ) ); - let table = NuTable::from(vec![create_row(5), create_row(5), create_row(5)]); + let mut table = NuTable::from(vec![create_row(5), create_row(5), create_row(5)]); + table.set_theme(theme::heavy()); + table.set_structure(false, true, false); let table = table.draw(usize::MAX);