upt
This commit is contained in:
parent
b3cde59f75
commit
48fec9c3fe
|
@ -2892,6 +2892,6 @@ fn table_list() {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn table_kv_header_on_separator_trim_algorithm() {
|
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 |+------+---------------------------------------------------+");
|
assert_eq!(actual.out, "+------+---------------------------------------------------+| key1 | 1111111111111111111111111111111111111111111111111 || | 11111111111 |+------+---------------------------------------------------+");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user