mirror of
https://github.com/nushell/nushell.git
synced 2024-12-28 09:59:36 +01:00
13 lines
215 B
Rust
13 lines
215 B
Rust
|
use nu_test_support::{nu, pipeline};
|
||
|
|
||
|
#[test]
|
||
|
fn test_char_list_outputs_table() {
|
||
|
let actual = nu!(pipeline(
|
||
|
r#"
|
||
|
char --list | length
|
||
|
"#
|
||
|
));
|
||
|
|
||
|
assert_eq!(actual.out, "107");
|
||
|
}
|