mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 02:24:58 +02:00
Rust 1.85, edition=2024 (#15741)
This commit is contained in:
@ -38,9 +38,11 @@ fn table_to_csv_text() {
|
||||
"#
|
||||
));
|
||||
|
||||
assert!(actual
|
||||
.out
|
||||
.contains("Tigre Ecuador,OMYA Andina,3824909999,Calcium carbonate,Colombia"));
|
||||
assert!(
|
||||
actual
|
||||
.out
|
||||
.contains("Tigre Ecuador,OMYA Andina,3824909999,Calcium carbonate,Colombia")
|
||||
);
|
||||
})
|
||||
}
|
||||
|
||||
@ -68,9 +70,11 @@ fn table_to_csv_text_skipping_headers_after_conversion() {
|
||||
"#
|
||||
));
|
||||
|
||||
assert!(actual
|
||||
.out
|
||||
.contains("Tigre Ecuador,OMYA Andina,3824909999,Calcium carbonate,Colombia"));
|
||||
assert!(
|
||||
actual
|
||||
.out
|
||||
.contains("Tigre Ecuador,OMYA Andina,3824909999,Calcium carbonate,Colombia")
|
||||
);
|
||||
})
|
||||
}
|
||||
|
||||
@ -342,9 +346,11 @@ fn from_csv_text_with_multiple_char_separator() {
|
||||
"#
|
||||
));
|
||||
|
||||
assert!(actual
|
||||
.err
|
||||
.contains("separator should be a single char or a 4-byte unicode"));
|
||||
assert!(
|
||||
actual
|
||||
.err
|
||||
.contains("separator should be a single char or a 4-byte unicode")
|
||||
);
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user