mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 10:36:00 +02:00
Pick->Select rename. Integration tests changes. (#1725)
Pick->Select rename. Integration tests changes.
This commit is contained in:
committed by
GitHub
parent
c3efdf2689
commit
96e5fc05a3
@ -9,7 +9,7 @@ fn table_to_csv_text_and_from_csv_text_back_into_table() {
|
||||
"open caco3_plastics.csv | to csv | from csv | first 1 | get origin | echo $it"
|
||||
);
|
||||
|
||||
assert_eq!(actual, "SPAIN");
|
||||
assert_eq!(actual.out, "SPAIN");
|
||||
}
|
||||
|
||||
#[test]
|
||||
@ -39,7 +39,9 @@ fn table_to_csv_text() {
|
||||
"#
|
||||
));
|
||||
|
||||
assert!(actual.contains("Tigre Ecuador,OMYA Andina,3824909999,Calcium carbonate,Colombia"));
|
||||
assert!(actual
|
||||
.out
|
||||
.contains("Tigre Ecuador,OMYA Andina,3824909999,Calcium carbonate,Colombia"));
|
||||
})
|
||||
}
|
||||
|
||||
@ -68,7 +70,9 @@ fn table_to_csv_text_skipping_headers_after_conversion() {
|
||||
"#
|
||||
));
|
||||
|
||||
assert!(actual.contains("Tigre Ecuador,OMYA Andina,3824909999,Calcium carbonate,Colombia"));
|
||||
assert!(actual
|
||||
.out
|
||||
.contains("Tigre Ecuador,OMYA Andina,3824909999,Calcium carbonate,Colombia"));
|
||||
})
|
||||
}
|
||||
|
||||
@ -96,7 +100,7 @@ fn infers_types() {
|
||||
"#
|
||||
));
|
||||
|
||||
assert_eq!(actual, "4");
|
||||
assert_eq!(actual.out, "4");
|
||||
})
|
||||
}
|
||||
|
||||
@ -124,7 +128,7 @@ fn from_csv_text_to_table() {
|
||||
"#
|
||||
));
|
||||
|
||||
assert_eq!(actual, "3");
|
||||
assert_eq!(actual.out, "3");
|
||||
})
|
||||
}
|
||||
|
||||
@ -152,7 +156,7 @@ fn from_csv_text_with_separator_to_table() {
|
||||
"#
|
||||
));
|
||||
|
||||
assert_eq!(actual, "3");
|
||||
assert_eq!(actual.out, "3");
|
||||
})
|
||||
}
|
||||
|
||||
@ -180,7 +184,7 @@ fn from_csv_text_with_tab_separator_to_table() {
|
||||
"#
|
||||
));
|
||||
|
||||
assert_eq!(actual, "3");
|
||||
assert_eq!(actual.out, "3");
|
||||
})
|
||||
}
|
||||
|
||||
@ -207,6 +211,6 @@ fn from_csv_text_skipping_headers_to_table() {
|
||||
"#
|
||||
));
|
||||
|
||||
assert_eq!(actual, "3");
|
||||
assert_eq!(actual.out, "3");
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user