mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 06:55:36 +02:00
Rust 1.85, edition=2024 (#15741)
This commit is contained in:
@ -62,9 +62,11 @@ fn concat_assign_type_mismatch() {
|
||||
$a ++= 'str'
|
||||
"#);
|
||||
|
||||
assert!(actual
|
||||
.err
|
||||
.contains("nu::parser::operator_incompatible_types"));
|
||||
assert!(
|
||||
actual
|
||||
.err
|
||||
.contains("nu::parser::operator_incompatible_types")
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
@ -74,7 +76,9 @@ fn concat_assign_runtime_type_mismatch() {
|
||||
$a ++= if true { 'str' }
|
||||
"#);
|
||||
|
||||
assert!(actual
|
||||
.err
|
||||
.contains("nu::shell::operator_incompatible_types"));
|
||||
assert!(
|
||||
actual
|
||||
.err
|
||||
.contains("nu::shell::operator_incompatible_types")
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user