mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 01:15:14 +02:00
Rust 1.85, edition=2024 (#15741)
This commit is contained in:
@ -257,9 +257,11 @@ fn inf_in_range_fails() {
|
||||
let actual = nu!(r#"inf..5 | to json"#);
|
||||
assert!(actual.err.contains("can't convert to countable values"));
|
||||
let actual = nu!(r#"5..inf | to json"#);
|
||||
assert!(actual
|
||||
.err
|
||||
.contains("Unbounded ranges are not allowed when converting to this format"));
|
||||
assert!(
|
||||
actual
|
||||
.err
|
||||
.contains("Unbounded ranges are not allowed when converting to this format")
|
||||
);
|
||||
let actual = nu!(r#"-inf..inf | to json"#);
|
||||
assert!(actual.err.contains("can't convert to countable values"));
|
||||
}
|
||||
|
Reference in New Issue
Block a user