mirror of
https://github.com/nushell/nushell.git
synced 2024-11-27 02:44:01 +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");
|
||
|
}
|