mirror of
https://github.com/nushell/nushell
synced 2024-12-26 13:03:07 +00:00
Merge pull request #1094 from jonathandturner/rename_test_support
Rename test-support to nu-test-support
This commit is contained in:
commit
d21ddeeae6
52 changed files with 113 additions and 113 deletions
24
Cargo.lock
generated
24
Cargo.lock
generated
|
@ -1957,6 +1957,7 @@ dependencies = [
|
||||||
"nu-parser",
|
"nu-parser",
|
||||||
"nu-protocol",
|
"nu-protocol",
|
||||||
"nu-source",
|
"nu-source",
|
||||||
|
"nu-test-support",
|
||||||
"nu-value-ext",
|
"nu-value-ext",
|
||||||
"nu_plugin_average",
|
"nu_plugin_average",
|
||||||
"nu_plugin_binaryview",
|
"nu_plugin_binaryview",
|
||||||
|
@ -2000,7 +2001,6 @@ dependencies = [
|
||||||
"tempfile",
|
"tempfile",
|
||||||
"term",
|
"term",
|
||||||
"termcolor",
|
"termcolor",
|
||||||
"test-support",
|
|
||||||
"textwrap",
|
"textwrap",
|
||||||
"toml 0.5.5",
|
"toml 0.5.5",
|
||||||
"trash",
|
"trash",
|
||||||
|
@ -2129,6 +2129,17 @@ dependencies = [
|
||||||
"termcolor",
|
"termcolor",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "nu-test-support"
|
||||||
|
version = "0.7.0"
|
||||||
|
dependencies = [
|
||||||
|
"app_dirs",
|
||||||
|
"dunce",
|
||||||
|
"getset",
|
||||||
|
"glob",
|
||||||
|
"tempfile",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-value-ext"
|
name = "nu-value-ext"
|
||||||
version = "0.7.0"
|
version = "0.7.0"
|
||||||
|
@ -3409,17 +3420,6 @@ dependencies = [
|
||||||
"wincolor",
|
"wincolor",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "test-support"
|
|
||||||
version = "0.7.0"
|
|
||||||
dependencies = [
|
|
||||||
"app_dirs",
|
|
||||||
"dunce",
|
|
||||||
"getset",
|
|
||||||
"glob",
|
|
||||||
"tempfile",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "textwrap"
|
name = "textwrap"
|
||||||
version = "0.11.0"
|
version = "0.11.0"
|
||||||
|
|
|
@ -158,7 +158,7 @@ features = ["bundled", "blob"]
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
pretty_assertions = "0.6.1"
|
pretty_assertions = "0.6.1"
|
||||||
test-support = { version = "0.7.0", path = "./crates/test-support" }
|
nu-test-support = { version = "0.7.0", path = "./crates/nu-test-support" }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
toml = "0.5.5"
|
toml = "0.5.5"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[package]
|
[package]
|
||||||
name = "test-support"
|
name = "nu-test-support"
|
||||||
version = "0.7.0"
|
version = "0.7.0"
|
||||||
authors = ["Yehuda Katz <wycats@gmail.com>", "Jonathan Turner <jonathan.d.turner@gmail.com>", "Andrés N. Robalino <andres@androbtech.com>"]
|
authors = ["Yehuda Katz <wycats@gmail.com>", "Jonathan Turner <jonathan.d.turner@gmail.com>", "Andrés N. Robalino <andres@androbtech.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
|
@ -1,4 +1,4 @@
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn adds_a_row_to_the_end() {
|
fn adds_a_row_to_the_end() {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
use nu_test_support::fs::{Stub::EmptyFile, Stub::FileWithContent};
|
||||||
|
use nu_test_support::playground::Playground;
|
||||||
|
use nu_test_support::{nu, nu_error};
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
use test_support::fs::{Stub::EmptyFile, Stub::FileWithContent};
|
|
||||||
use test_support::playground::Playground;
|
|
||||||
use test_support::{nu, nu_error};
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn filesystem_change_from_current_directory_using_relative_path() {
|
fn filesystem_change_from_current_directory_using_relative_path() {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use test_support::fs::Stub::FileWithContentToBeTrimmed;
|
use nu_test_support::fs::Stub::FileWithContentToBeTrimmed;
|
||||||
use test_support::playground::Playground;
|
use nu_test_support::playground::Playground;
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn discards_rows_where_given_column_is_empty() {
|
fn discards_rows_where_given_column_is_empty() {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
use nu_test_support::fs::{files_exist_at, AbsoluteFile, Stub::EmptyFile};
|
||||||
|
use nu_test_support::playground::Playground;
|
||||||
|
use nu_test_support::{nu, nu_error};
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
use test_support::fs::{files_exist_at, AbsoluteFile, Stub::EmptyFile};
|
|
||||||
use test_support::playground::Playground;
|
|
||||||
use test_support::{nu, nu_error};
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn copies_a_file() {
|
fn copies_a_file() {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use test_support::fs::Stub::FileWithContentToBeTrimmed;
|
use nu_test_support::fs::Stub::FileWithContentToBeTrimmed;
|
||||||
use test_support::playground::Playground;
|
use nu_test_support::playground::Playground;
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn adds_row_data_if_column_missing() {
|
fn adds_row_data_if_column_missing() {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn creates_a_new_table_with_the_new_row_given() {
|
fn creates_a_new_table_with_the_new_row_given() {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
use nu_test_support::fs::{files_exist_at, Stub::EmptyFile};
|
||||||
|
use nu_test_support::playground::Playground;
|
||||||
|
use nu_test_support::{nu, nu_error};
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
use test_support::fs::{files_exist_at, Stub::EmptyFile};
|
|
||||||
use test_support::playground::Playground;
|
|
||||||
use test_support::{nu, nu_error};
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn knows_the_filesystems_entered() {
|
fn knows_the_filesystems_entered() {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use test_support::fs::Stub::EmptyFile;
|
use nu_test_support::fs::Stub::EmptyFile;
|
||||||
use test_support::playground::Playground;
|
use nu_test_support::playground::Playground;
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn gets_first_rows_by_amount() {
|
fn gets_first_rows_by_amount() {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn creates_the_resulting_string_from_the_given_fields() {
|
fn creates_the_resulting_string_from_the_given_fields() {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use test_support::fs::Stub::FileWithContent;
|
use nu_test_support::fs::Stub::FileWithContent;
|
||||||
use test_support::playground::Playground;
|
use nu_test_support::playground::Playground;
|
||||||
use test_support::{nu, nu_error, pipeline};
|
use nu_test_support::{nu, nu_error, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn fetches_a_row() {
|
fn fetches_a_row() {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use test_support::fs::Stub::FileWithContentToBeTrimmed;
|
use nu_test_support::fs::Stub::FileWithContentToBeTrimmed;
|
||||||
use test_support::playground::Playground;
|
use nu_test_support::playground::Playground;
|
||||||
use test_support::{nu, nu_error, pipeline};
|
use nu_test_support::{nu, nu_error, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn groups() {
|
fn groups() {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use test_support::fs::Stub::FileWithContentToBeTrimmed;
|
use nu_test_support::fs::Stub::FileWithContentToBeTrimmed;
|
||||||
use test_support::playground::Playground;
|
use nu_test_support::playground::Playground;
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn summarizes() {
|
fn summarizes() {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn insert_plugin() {
|
fn insert_plugin() {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use test_support::fs::Stub::EmptyFile;
|
use nu_test_support::fs::Stub::EmptyFile;
|
||||||
use test_support::playground::Playground;
|
use nu_test_support::playground::Playground;
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn gets_the_last_row() {
|
fn gets_the_last_row() {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn lines() {
|
fn lines() {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use test_support::fs::Stub::EmptyFile;
|
use nu_test_support::fs::Stub::EmptyFile;
|
||||||
use test_support::playground::Playground;
|
use nu_test_support::playground::Playground;
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn lists_regular_files() {
|
fn lists_regular_files() {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
use nu_test_support::fs::files_exist_at;
|
||||||
|
use nu_test_support::nu;
|
||||||
|
use nu_test_support::playground::Playground;
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
use test_support::fs::files_exist_at;
|
|
||||||
use test_support::nu;
|
|
||||||
use test_support::playground::Playground;
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn creates_directory() {
|
fn creates_directory() {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use test_support::fs::{files_exist_at, Stub::EmptyFile};
|
use nu_test_support::fs::{files_exist_at, Stub::EmptyFile};
|
||||||
use test_support::nu;
|
use nu_test_support::nu;
|
||||||
use test_support::playground::Playground;
|
use nu_test_support::playground::Playground;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn moves_a_file() {
|
fn moves_a_file() {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use test_support::fs::Stub::FileWithContentToBeTrimmed;
|
use nu_test_support::fs::Stub::FileWithContentToBeTrimmed;
|
||||||
use test_support::playground::Playground;
|
use nu_test_support::playground::Playground;
|
||||||
use test_support::{nu, nu_error, pipeline};
|
use nu_test_support::{nu, nu_error, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn parses_csv() {
|
fn parses_csv() {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn extracts_fields_from_the_given_the_pattern() {
|
fn extracts_fields_from_the_given_the_pattern() {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn adds_a_row_to_the_beginning() {
|
fn adds_a_row_to_the_beginning() {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use test_support::fs::Stub::EmptyFile;
|
use nu_test_support::fs::Stub::EmptyFile;
|
||||||
use test_support::playground::Playground;
|
use nu_test_support::playground::Playground;
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn selects_a_row() {
|
fn selects_a_row() {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use test_support::nu;
|
use nu_test_support::nu;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn can_get_reverse_first() {
|
fn can_get_reverse_first() {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use test_support::fs::{files_exist_at, Stub::EmptyFile};
|
use nu_test_support::fs::{files_exist_at, Stub::EmptyFile};
|
||||||
use test_support::playground::Playground;
|
use nu_test_support::playground::Playground;
|
||||||
use test_support::{nu, nu_error};
|
use nu_test_support::{nu, nu_error};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn removes_a_file() {
|
fn removes_a_file() {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use test_support::fs::{file_contents, Stub::FileWithContent};
|
use nu_test_support::fs::{file_contents, Stub::FileWithContent};
|
||||||
use test_support::nu;
|
use nu_test_support::nu;
|
||||||
use test_support::playground::Playground;
|
use nu_test_support::playground::Playground;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn figures_out_intelligently_where_to_write_out_with_metadata() {
|
fn figures_out_intelligently_where_to_write_out_with_metadata() {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn by_column() {
|
fn by_column() {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use test_support::fs::Stub::{EmptyFile, FileWithContentToBeTrimmed};
|
use nu_test_support::fs::Stub::{EmptyFile, FileWithContentToBeTrimmed};
|
||||||
use test_support::playground::Playground;
|
use nu_test_support::playground::Playground;
|
||||||
use test_support::{nu, nu_error, pipeline};
|
use nu_test_support::{nu, nu_error, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn splits() {
|
fn splits() {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn by_column() {
|
fn by_column() {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn filters_by_unit_size_comparison() {
|
fn filters_by_unit_size_comparison() {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use test_support::fs::Stub::FileWithContentToBeTrimmed;
|
use nu_test_support::fs::Stub::FileWithContentToBeTrimmed;
|
||||||
use test_support::playground::Playground;
|
use nu_test_support::playground::Playground;
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn wrap_rows_into_a_row() {
|
fn wrap_rows_into_a_row() {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn table_to_bson_and_back_into_table() {
|
fn table_to_bson_and_back_into_table() {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use test_support::fs::Stub::FileWithContentToBeTrimmed;
|
use nu_test_support::fs::Stub::FileWithContentToBeTrimmed;
|
||||||
use test_support::playground::Playground;
|
use nu_test_support::playground::Playground;
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn table_to_csv_text_and_from_csv_text_back_into_table() {
|
fn table_to_csv_text_and_from_csv_text_back_into_table() {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use test_support::fs::Stub::FileWithContentToBeTrimmed;
|
use nu_test_support::fs::Stub::FileWithContentToBeTrimmed;
|
||||||
use test_support::playground::Playground;
|
use nu_test_support::playground::Playground;
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn table_to_json_text_and_from_json_text_back_into_table() {
|
fn table_to_json_text_and_from_json_text_back_into_table() {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn table_to_sqlite_and_back_into_table() {
|
fn table_to_sqlite_and_back_into_table() {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use test_support::fs::Stub::FileWithContentToBeTrimmed;
|
use nu_test_support::fs::Stub::FileWithContentToBeTrimmed;
|
||||||
use test_support::playground::Playground;
|
use nu_test_support::playground::Playground;
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn from_ssv_text_to_table() {
|
fn from_ssv_text_to_table() {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn table_to_toml_text_and_from_toml_text_back_into_table() {
|
fn table_to_toml_text_and_from_toml_text_back_into_table() {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use test_support::fs::Stub::FileWithContentToBeTrimmed;
|
use nu_test_support::fs::Stub::FileWithContentToBeTrimmed;
|
||||||
use test_support::playground::Playground;
|
use nu_test_support::playground::Playground;
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn table_to_tsv_text_and_from_tsv_text_back_into_table() {
|
fn table_to_tsv_text_and_from_tsv_text_back_into_table() {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn can_encode_and_decode_urlencoding() {
|
fn can_encode_and_decode_urlencoding() {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn from_excel_file_to_table() {
|
fn from_excel_file_to_table() {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn table_to_yaml_text_and_from_yaml_text_back_into_table() {
|
fn table_to_yaml_text_and_from_yaml_text_back_into_table() {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// use test_support::{nu, pipeline};
|
// use nu_test_support::{nu, pipeline};
|
||||||
// use test_support::playground::Playground;
|
// use nu_test_support::playground::Playground;
|
||||||
// use test_support::fs::Stub::FileWithContentToBeTrimmed;
|
// use nu_test_support::fs::Stub::FileWithContentToBeTrimmed;
|
||||||
|
|
||||||
// #[test]
|
// #[test]
|
||||||
// fn can_sum() {
|
// fn can_sum() {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
extern crate test_support;
|
extern crate nu_test_support;
|
||||||
|
|
||||||
mod commands;
|
mod commands;
|
||||||
mod converting_formats;
|
mod converting_formats;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use test_support::fs::Stub::FileWithContent;
|
use nu_test_support::fs::Stub::FileWithContent;
|
||||||
use test_support::playground::Playground;
|
use nu_test_support::playground::Playground;
|
||||||
use test_support::{nu, nu_error};
|
use nu_test_support::{nu, nu_error};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn can_only_apply_one() {
|
fn can_only_apply_one() {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use test_support::fs::Stub::FileWithContent;
|
use nu_test_support::fs::Stub::FileWithContent;
|
||||||
use test_support::playground::Playground;
|
use nu_test_support::playground::Playground;
|
||||||
use test_support::{nu, nu_error, pipeline};
|
use nu_test_support::{nu, nu_error, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn can_only_apply_one() {
|
fn can_only_apply_one() {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
mod pipeline {
|
mod pipeline {
|
||||||
use test_support::fs::Stub::EmptyFile;
|
use nu_test_support::fs::Stub::EmptyFile;
|
||||||
use test_support::playground::Playground;
|
use nu_test_support::playground::Playground;
|
||||||
use test_support::{nu, pipeline};
|
use nu_test_support::{nu, pipeline};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn can_process_row_as_it_argument_to_an_external_command_given_the_it_data_is_a_string() {
|
fn can_process_row_as_it_argument_to_an_external_command_given_the_it_data_is_a_string() {
|
||||||
|
|
Loading…
Reference in a new issue