mirror of
https://github.com/nushell/nushell.git
synced 2025-05-20 06:33:21 +00:00
Adds `char eol`, `char line_sep`, and `char lsep` (synonyms) to represent the platform specific line ending character(s).
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, "113");
|
|
}
|