mirror of
https://github.com/nushell/nushell.git
synced 2024-12-26 17:09:06 +01:00
15 lines
243 B
Rust
15 lines
243 B
Rust
use nu_test_support::{nu, pipeline};
|
|
|
|
#[test]
|
|
fn formatter_not_valid() {
|
|
let actual = nu!(
|
|
cwd: ".", pipeline(
|
|
r#"
|
|
date format '%N'
|
|
"#
|
|
)
|
|
);
|
|
|
|
assert!(actual.err.contains("invalid format"));
|
|
}
|