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

@ -27,7 +27,7 @@ fn by_one_with_field_passed() {
let actual = nu_with_plugins!(
cwd: dirs.test(),
"open sample.toml | inc package.edition | get package.edition | echo $it"
"open sample.toml | inc package.edition | get package.edition"
);
assert_eq!(actual.out, "2019");
@ -47,7 +47,7 @@ fn by_one_with_no_field_passed() {
let actual = nu_with_plugins!(
cwd: dirs.test(),
"open sample.toml | get package.contributors | inc | echo $it"
"open sample.toml | get package.contributors | inc"
);
assert_eq!(actual.out, "3");
@ -67,7 +67,7 @@ fn semversion_major_inc() {
let actual = nu_with_plugins!(
cwd: dirs.test(),
"open sample.toml | inc package.version -M | get package.version | echo $it"
"open sample.toml | inc package.version -M | get package.version"
);
assert_eq!(actual.out, "1.0.0");
@ -87,7 +87,7 @@ fn semversion_minor_inc() {
let actual = nu_with_plugins!(
cwd: dirs.test(),
"open sample.toml | inc package.version --minor | get package.version | echo $it"
"open sample.toml | inc package.version --minor | get package.version"
);
assert_eq!(actual.out, "0.2.0");
@ -107,7 +107,7 @@ fn semversion_patch_inc() {
let actual = nu_with_plugins!(
cwd: dirs.test(),
"open sample.toml | inc package.version --patch | get package.version | echo $it"
"open sample.toml | inc package.version --patch | get package.version"
);
assert_eq!(actual.out, "0.1.4");
@ -127,7 +127,7 @@ fn semversion_without_passing_field() {
let actual = nu_with_plugins!(
cwd: dirs.test(),
"open sample.toml | get package.version | inc --patch | echo $it"
"open sample.toml | get package.version | inc --patch"
);
assert_eq!(actual.out, "0.1.4");