Remove it expansion (#2701)

* Remove it-expansion, take 2

* Cleanup

* silly update to test CI
This commit is contained in:
Jonathan Turner
2020-10-26 19:55:52 +13:00
committed by GitHub
parent 502c9ea706
commit 6951fb440c
95 changed files with 175 additions and 642 deletions

View File

@@ -6,7 +6,7 @@ use nu_test_support::{nu, pipeline};
fn table_to_csv_text_and_from_csv_text_back_into_table() {
let actual = nu!(
cwd: "tests/fixtures/formats",
"open caco3_plastics.csv | to csv | from csv | first 1 | get origin | echo $it"
"open caco3_plastics.csv | to csv | from csv | first 1 | get origin "
);
assert_eq!(actual.out, "SPAIN");
@@ -35,7 +35,6 @@ fn table_to_csv_text() {
| to csv
| lines
| nth 1
| echo $it
"#
));
@@ -66,7 +65,6 @@ fn table_to_csv_text_skipping_headers_after_conversion() {
| split column "," a b c d origin
| last 1
| to csv --headerless
| echo $it
"#
));
@@ -96,7 +94,6 @@ fn infers_types() {
open los_cuatro_mosqueteros.csv
| where rusty_luck > 0
| count
| echo $it
"#
));
@@ -124,7 +121,6 @@ fn from_csv_text_to_table() {
| from csv
| get rusty_luck
| count
| echo $it
"#
));
@@ -152,7 +148,6 @@ fn from_csv_text_with_separator_to_table() {
| from csv --separator ';'
| get rusty_luck
| count
| echo $it
"#
));
@@ -180,7 +175,6 @@ fn from_csv_text_with_tab_separator_to_table() {
| from csv --separator '\t'
| get rusty_luck
| count
| echo $it
"#
));
@@ -207,7 +201,6 @@ fn from_csv_text_skipping_headers_to_table() {
| from csv --headerless
| get Column3
| count
| echo $it
"#
));