mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 02:45:08 +02:00
Rust 1.85, edition=2024 (#15741)
This commit is contained in:
@ -51,9 +51,11 @@ fn headers_invalid_column_type_empty_record() {
|
||||
| headers"
|
||||
));
|
||||
|
||||
assert!(actual
|
||||
.err
|
||||
.contains("needs compatible type: Null, String, Bool, Float, Int"));
|
||||
assert!(
|
||||
actual
|
||||
.err
|
||||
.contains("needs compatible type: Null, String, Bool, Float, Int")
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
@ -64,9 +66,11 @@ fn headers_invalid_column_type_record() {
|
||||
| headers"
|
||||
));
|
||||
|
||||
assert!(actual
|
||||
.err
|
||||
.contains("needs compatible type: Null, String, Bool, Float, Int"));
|
||||
assert!(
|
||||
actual
|
||||
.err
|
||||
.contains("needs compatible type: Null, String, Bool, Float, Int")
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
@ -77,9 +81,11 @@ fn headers_invalid_column_type_array() {
|
||||
| headers"
|
||||
));
|
||||
|
||||
assert!(actual
|
||||
.err
|
||||
.contains("needs compatible type: Null, String, Bool, Float, Int"));
|
||||
assert!(
|
||||
actual
|
||||
.err
|
||||
.contains("needs compatible type: Null, String, Bool, Float, Int")
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
@ -90,9 +96,11 @@ fn headers_invalid_column_type_range() {
|
||||
| headers"
|
||||
));
|
||||
|
||||
assert!(actual
|
||||
.err
|
||||
.contains("needs compatible type: Null, String, Bool, Float, Int"));
|
||||
assert!(
|
||||
actual
|
||||
.err
|
||||
.contains("needs compatible type: Null, String, Bool, Float, Int")
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
@ -103,9 +111,11 @@ fn headers_invalid_column_type_duration() {
|
||||
| headers"
|
||||
));
|
||||
|
||||
assert!(actual
|
||||
.err
|
||||
.contains("needs compatible type: Null, String, Bool, Float, Int"));
|
||||
assert!(
|
||||
actual
|
||||
.err
|
||||
.contains("needs compatible type: Null, String, Bool, Float, Int")
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
@ -116,7 +126,9 @@ fn headers_invalid_column_type_binary() {
|
||||
| headers"#
|
||||
));
|
||||
|
||||
assert!(actual
|
||||
.err
|
||||
.contains("needs compatible type: Null, String, Bool, Float, Int"));
|
||||
assert!(
|
||||
actual
|
||||
.err
|
||||
.contains("needs compatible type: Null, String, Bool, Float, Int")
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user