mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 13:06:08 +02:00
Rust 1.85, edition=2024 (#15741)
This commit is contained in:
@ -771,9 +771,11 @@ fn filesize_math() {
|
||||
#[test]
|
||||
fn filesize_math2() {
|
||||
let actual = nu!("100 / 10kB");
|
||||
assert!(actual
|
||||
.err
|
||||
.contains("nu::parser::operator_incompatible_types"));
|
||||
assert!(
|
||||
actual
|
||||
.err
|
||||
.contains("nu::parser::operator_incompatible_types")
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
@ -1133,9 +1135,11 @@ fn command_not_found_error_shows_not_found_2() {
|
||||
#[test]
|
||||
fn error_on_out_greater_pipe() {
|
||||
let actual = nu!(r#""foo" o>| print"#);
|
||||
assert!(actual
|
||||
.err
|
||||
.contains("Redirecting stdout to a pipe is the same as normal piping"))
|
||||
assert!(
|
||||
actual
|
||||
.err
|
||||
.contains("Redirecting stdout to a pipe is the same as normal piping")
|
||||
)
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Reference in New Issue
Block a user