mirror of
https://github.com/nushell/nushell.git
synced 2025-02-02 03:30:16 +01:00
activate back to_nuon_errs_on_closure
with valid assertion
This commit is contained in:
parent
4cc61dfd14
commit
0b4fad7eff
@ -285,7 +285,7 @@ fn from_nuon_datetime() {
|
||||
assert_eq!(actual.out, "date");
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[test]
|
||||
fn to_nuon_errs_on_closure() {
|
||||
let actual = nu!(
|
||||
cwd: "tests/fixtures/formats", pipeline(
|
||||
@ -295,7 +295,7 @@ fn to_nuon_errs_on_closure() {
|
||||
"#
|
||||
));
|
||||
|
||||
assert!(actual.err.contains("not nuon-compatible"));
|
||||
assert!(actual.err.contains("can't convert closure to NUON"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Loading…
Reference in New Issue
Block a user