From 48fec9c3fe246d4c1e83609f8c5ec893e3306681 Mon Sep 17 00:00:00 2001 From: Maxim Zhiburt Date: Tue, 9 Jul 2024 17:21:24 +0300 Subject: [PATCH] upt --- crates/nu-command/tests/commands/table.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-command/tests/commands/table.rs b/crates/nu-command/tests/commands/table.rs index 282ad1e404..16d5eb54ab 100644 --- a/crates/nu-command/tests/commands/table.rs +++ b/crates/nu-command/tests/commands/table.rs @@ -2892,6 +2892,6 @@ fn table_list() { #[test] fn table_kv_header_on_separator_trim_algorithm() { - let actual = nu!("{key1: '111111111111111111111111111111111111111111111111111111111111'} | table --width=60 --theme basic"); + let actual = nu!("$env.config.table.header_on_separator = true; {key1: '111111111111111111111111111111111111111111111111111111111111'} | table --width=60 --theme basic"); assert_eq!(actual.out, "+------+---------------------------------------------------+| key1 | 1111111111111111111111111111111111111111111111111 || | 11111111111 |+------+---------------------------------------------------+"); }