Remove test-bins feature.

This commit is contained in:
Andrés N. Robalino
2020-05-17 22:52:56 -05:00
parent d1b1438ce5
commit f18424a6f6
13 changed files with 134 additions and 126 deletions

View File

@ -74,7 +74,7 @@ mod it_evaluation {
ls
| sort-by name
| get name
| cococo $it
| nu --testbin cococo $it
| lines
| nth 1
| echo $it
@ -101,7 +101,7 @@ mod it_evaluation {
r#"
open nu_candies.txt
| lines
| chop $it
| nu --testbin chop $it
| lines
| nth 1
| echo $it
@ -145,7 +145,7 @@ mod stdin_evaluation {
let actual = nu!(
cwd: ".",
pipeline(r#"
nonu "where's the nuline?"
nu --testbin nonu "where's the nuline?"
| count
"#
));
@ -158,9 +158,9 @@ mod stdin_evaluation {
let stdout = nu!(
cwd: ".",
pipeline(r#"
iecho yes
| chop
| chop
nu --testbin iecho yes
| nu --testbin chop
| nu --testbin chop
| lines
| first 1
"#
@ -177,7 +177,7 @@ mod external_words {
#[test]
fn relaxed_external_words() {
let actual = nu!(cwd: ".", r#"
cococo joturner@foo.bar.baz
nu --testbin cococo joturner@foo.bar.baz
"#);
assert_eq!(actual.out, "joturner@foo.bar.baz");
@ -227,7 +227,7 @@ mod tilde_expansion {
let actual = nu!(
cwd: ".",
r#"
cococo ~
nu --testbin cococo ~
"#
);
@ -242,7 +242,7 @@ mod tilde_expansion {
let actual = nu!(
cwd: ".",
r#"
cococo "1~1"
nu --testbin cococo "1~1"
"#
);

View File

@ -24,7 +24,7 @@ fn takes_rows_of_nu_value_strings_and_pipes_it_to_stdin_of_external() {
open nu_times.csv
| get name
| ^echo $it
| chop
| nu --testbin chop
| nth 3
| echo $it
"#
@ -90,7 +90,7 @@ fn invocation_handles_dot() {
echo $(open nu_times.csv)
| get name
| ^echo $it
| chop
| nu --testbin chop
| nth 3
| echo $it
"#
@ -104,7 +104,7 @@ fn invocation_handles_dot() {
fn can_process_one_row_from_internal_and_pipes_it_to_stdin_of_external() {
let actual = nu!(
cwd: ".",
r#"echo "nushelll" | chop"#
r#"echo "nushelll" | nu --testbin chop"#
);
assert_eq!(actual.out, "nushell");