mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 09:05:47 +02:00
Rust 1.85, edition=2024 (#15741)
This commit is contained in:
@ -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'")
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user