mirror of
https://github.com/nushell/nushell.git
synced 2024-12-01 21:03:58 +01:00
9 lines
202 B
Rust
9 lines
202 B
Rust
|
use nu_test_support::nu;
|
||
|
|
||
|
#[test]
|
||
|
fn into_datetime_table_column() {
|
||
|
let actual = nu!(r#"[[date]; ["2022-01-01"] ["2023-01-01"]] | into datetime date"#);
|
||
|
|
||
|
assert!(actual.out.contains(" ago"));
|
||
|
}
|