Rust 1.85, edition=2024 (#15741)

This commit is contained in:
Jack Wright
2025-05-13 07:49:30 -07:00
committed by GitHub
parent 1a0986903f
commit c2ac8f730e
793 changed files with 4276 additions and 3687 deletions

View File

@ -76,9 +76,11 @@ fn correctly_escape_external_arguments() {
fn escape_also_escapes_equals() {
let actual = nu!("^MYFOONAME=MYBARVALUE");
assert!(actual
.err
.contains("Command `MYFOONAME=MYBARVALUE` not found"));
assert!(
actual
.err
.contains("Command `MYFOONAME=MYBARVALUE` not found")
);
}
#[test]
@ -721,7 +723,9 @@ fn external_error_with_backtrace() {
#[test]
fn sub_external_expression_with_and_op_should_raise_proper_error() {
let actual = nu!("(nu --testbin cococo false) and true");
assert!(actual
.err
.contains("The 'and' operator does not work on values of type 'string'"))
assert!(
actual
.err
.contains("The 'and' operator does not work on values of type 'string'")
)
}