diff --git a/tests/commands/append.rs b/tests/commands/append.rs index 96ada1576..8d5fc36b3 100644 --- a/tests/commands/append.rs +++ b/tests/commands/append.rs @@ -1,4 +1,4 @@ -use test_support::{nu, pipeline}; +use nu_test_support::{nu, pipeline}; #[test] fn adds_a_row_to_the_end() { diff --git a/tests/commands/cd.rs b/tests/commands/cd.rs index bc295d8f9..7bfcabc40 100644 --- a/tests/commands/cd.rs +++ b/tests/commands/cd.rs @@ -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 test_support::fs::{Stub::EmptyFile, Stub::FileWithContent}; -use test_support::playground::Playground; -use test_support::{nu, nu_error}; #[test] fn filesystem_change_from_current_directory_using_relative_path() { diff --git a/tests/commands/compact.rs b/tests/commands/compact.rs index 6e90fc1cf..8e5bc8fa4 100644 --- a/tests/commands/compact.rs +++ b/tests/commands/compact.rs @@ -1,6 +1,6 @@ -use test_support::fs::Stub::FileWithContentToBeTrimmed; -use test_support::playground::Playground; -use test_support::{nu, pipeline}; +use nu_test_support::fs::Stub::FileWithContentToBeTrimmed; +use nu_test_support::playground::Playground; +use nu_test_support::{nu, pipeline}; #[test] fn discards_rows_where_given_column_is_empty() { diff --git a/tests/commands/cp.rs b/tests/commands/cp.rs index 4d6843998..511204e35 100644 --- a/tests/commands/cp.rs +++ b/tests/commands/cp.rs @@ -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 test_support::fs::{files_exist_at, AbsoluteFile, Stub::EmptyFile}; -use test_support::playground::Playground; -use test_support::{nu, nu_error}; #[test] fn copies_a_file() { diff --git a/tests/commands/default.rs b/tests/commands/default.rs index 35f3fb52a..aa2c94ef3 100644 --- a/tests/commands/default.rs +++ b/tests/commands/default.rs @@ -1,6 +1,6 @@ -use test_support::fs::Stub::FileWithContentToBeTrimmed; -use test_support::playground::Playground; -use test_support::{nu, pipeline}; +use nu_test_support::fs::Stub::FileWithContentToBeTrimmed; +use nu_test_support::playground::Playground; +use nu_test_support::{nu, pipeline}; #[test] fn adds_row_data_if_column_missing() { diff --git a/tests/commands/edit.rs b/tests/commands/edit.rs index 553c879b4..f68e83efe 100644 --- a/tests/commands/edit.rs +++ b/tests/commands/edit.rs @@ -1,4 +1,4 @@ -use test_support::{nu, pipeline}; +use nu_test_support::{nu, pipeline}; #[test] fn creates_a_new_table_with_the_new_row_given() { diff --git a/tests/commands/enter.rs b/tests/commands/enter.rs index 8d401eb4f..27444fba7 100644 --- a/tests/commands/enter.rs +++ b/tests/commands/enter.rs @@ -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 test_support::fs::{files_exist_at, Stub::EmptyFile}; -use test_support::playground::Playground; -use test_support::{nu, nu_error}; #[test] fn knows_the_filesystems_entered() { diff --git a/tests/commands/first.rs b/tests/commands/first.rs index a57cf074c..00b6bbcf1 100644 --- a/tests/commands/first.rs +++ b/tests/commands/first.rs @@ -1,6 +1,6 @@ -use test_support::fs::Stub::EmptyFile; -use test_support::playground::Playground; -use test_support::{nu, pipeline}; +use nu_test_support::fs::Stub::EmptyFile; +use nu_test_support::playground::Playground; +use nu_test_support::{nu, pipeline}; #[test] fn gets_first_rows_by_amount() { diff --git a/tests/commands/format.rs b/tests/commands/format.rs index e029f9039..3540f6026 100644 --- a/tests/commands/format.rs +++ b/tests/commands/format.rs @@ -1,4 +1,4 @@ -use test_support::{nu, pipeline}; +use nu_test_support::{nu, pipeline}; #[test] fn creates_the_resulting_string_from_the_given_fields() { diff --git a/tests/commands/get.rs b/tests/commands/get.rs index 8e3714dca..f50a1e4be 100644 --- a/tests/commands/get.rs +++ b/tests/commands/get.rs @@ -1,6 +1,6 @@ -use test_support::fs::Stub::FileWithContent; -use test_support::playground::Playground; -use test_support::{nu, nu_error, pipeline}; +use nu_test_support::fs::Stub::FileWithContent; +use nu_test_support::playground::Playground; +use nu_test_support::{nu, nu_error, pipeline}; #[test] fn fetches_a_row() { diff --git a/tests/commands/group_by.rs b/tests/commands/group_by.rs index 4a83f4495..b4eb06354 100644 --- a/tests/commands/group_by.rs +++ b/tests/commands/group_by.rs @@ -1,6 +1,6 @@ -use test_support::fs::Stub::FileWithContentToBeTrimmed; -use test_support::playground::Playground; -use test_support::{nu, nu_error, pipeline}; +use nu_test_support::fs::Stub::FileWithContentToBeTrimmed; +use nu_test_support::playground::Playground; +use nu_test_support::{nu, nu_error, pipeline}; #[test] fn groups() { diff --git a/tests/commands/histogram.rs b/tests/commands/histogram.rs index b9f44b72b..74ae74a1a 100644 --- a/tests/commands/histogram.rs +++ b/tests/commands/histogram.rs @@ -1,6 +1,6 @@ -use test_support::fs::Stub::FileWithContentToBeTrimmed; -use test_support::playground::Playground; -use test_support::{nu, pipeline}; +use nu_test_support::fs::Stub::FileWithContentToBeTrimmed; +use nu_test_support::playground::Playground; +use nu_test_support::{nu, pipeline}; #[test] fn summarizes() { diff --git a/tests/commands/insert.rs b/tests/commands/insert.rs index 3c7bda415..89bb0b93f 100644 --- a/tests/commands/insert.rs +++ b/tests/commands/insert.rs @@ -1,4 +1,4 @@ -use test_support::{nu, pipeline}; +use nu_test_support::{nu, pipeline}; #[test] fn insert_plugin() { diff --git a/tests/commands/last.rs b/tests/commands/last.rs index 0d5aa82f3..652ccefb5 100644 --- a/tests/commands/last.rs +++ b/tests/commands/last.rs @@ -1,6 +1,6 @@ -use test_support::fs::Stub::EmptyFile; -use test_support::playground::Playground; -use test_support::{nu, pipeline}; +use nu_test_support::fs::Stub::EmptyFile; +use nu_test_support::playground::Playground; +use nu_test_support::{nu, pipeline}; #[test] fn gets_the_last_row() { diff --git a/tests/commands/lines.rs b/tests/commands/lines.rs index e09a710d0..e11569e2a 100644 --- a/tests/commands/lines.rs +++ b/tests/commands/lines.rs @@ -1,4 +1,4 @@ -use test_support::{nu, pipeline}; +use nu_test_support::{nu, pipeline}; #[test] fn lines() { diff --git a/tests/commands/ls.rs b/tests/commands/ls.rs index 91464b8ca..407202dff 100644 --- a/tests/commands/ls.rs +++ b/tests/commands/ls.rs @@ -1,6 +1,6 @@ -use test_support::fs::Stub::EmptyFile; -use test_support::playground::Playground; -use test_support::{nu, pipeline}; +use nu_test_support::fs::Stub::EmptyFile; +use nu_test_support::playground::Playground; +use nu_test_support::{nu, pipeline}; #[test] fn lists_regular_files() { diff --git a/tests/commands/mkdir.rs b/tests/commands/mkdir.rs index 86ceed3bb..5c3173eb7 100644 --- a/tests/commands/mkdir.rs +++ b/tests/commands/mkdir.rs @@ -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 test_support::fs::files_exist_at; -use test_support::nu; -use test_support::playground::Playground; #[test] fn creates_directory() { diff --git a/tests/commands/mv.rs b/tests/commands/mv.rs index eb7d0f024..32e9efd75 100644 --- a/tests/commands/mv.rs +++ b/tests/commands/mv.rs @@ -1,6 +1,6 @@ -use test_support::fs::{files_exist_at, Stub::EmptyFile}; -use test_support::nu; -use test_support::playground::Playground; +use nu_test_support::fs::{files_exist_at, Stub::EmptyFile}; +use nu_test_support::nu; +use nu_test_support::playground::Playground; #[test] fn moves_a_file() { diff --git a/tests/commands/open.rs b/tests/commands/open.rs index 137f7f260..b4f9fc44b 100644 --- a/tests/commands/open.rs +++ b/tests/commands/open.rs @@ -1,6 +1,6 @@ -use test_support::fs::Stub::FileWithContentToBeTrimmed; -use test_support::playground::Playground; -use test_support::{nu, nu_error, pipeline}; +use nu_test_support::fs::Stub::FileWithContentToBeTrimmed; +use nu_test_support::playground::Playground; +use nu_test_support::{nu, nu_error, pipeline}; #[test] fn parses_csv() { diff --git a/tests/commands/parse.rs b/tests/commands/parse.rs index 5246c0dc7..805e50fb1 100644 --- a/tests/commands/parse.rs +++ b/tests/commands/parse.rs @@ -1,4 +1,4 @@ -use test_support::{nu, pipeline}; +use nu_test_support::{nu, pipeline}; #[test] fn extracts_fields_from_the_given_the_pattern() { diff --git a/tests/commands/prepend.rs b/tests/commands/prepend.rs index 46c881a5f..f728dadfa 100644 --- a/tests/commands/prepend.rs +++ b/tests/commands/prepend.rs @@ -1,4 +1,4 @@ -use test_support::{nu, pipeline}; +use nu_test_support::{nu, pipeline}; #[test] fn adds_a_row_to_the_beginning() { diff --git a/tests/commands/range.rs b/tests/commands/range.rs index cf4fa79ba..3594cdf87 100644 --- a/tests/commands/range.rs +++ b/tests/commands/range.rs @@ -1,6 +1,6 @@ -use test_support::fs::Stub::EmptyFile; -use test_support::playground::Playground; -use test_support::{nu, pipeline}; +use nu_test_support::fs::Stub::EmptyFile; +use nu_test_support::playground::Playground; +use nu_test_support::{nu, pipeline}; #[test] fn selects_a_row() { diff --git a/tests/commands/reverse.rs b/tests/commands/reverse.rs index 0f0bd9f07..436eeed42 100644 --- a/tests/commands/reverse.rs +++ b/tests/commands/reverse.rs @@ -1,4 +1,4 @@ -use test_support::nu; +use nu_test_support::nu; #[test] fn can_get_reverse_first() { diff --git a/tests/commands/rm.rs b/tests/commands/rm.rs index 17f924430..6629d8c76 100644 --- a/tests/commands/rm.rs +++ b/tests/commands/rm.rs @@ -1,6 +1,6 @@ -use test_support::fs::{files_exist_at, Stub::EmptyFile}; -use test_support::playground::Playground; -use test_support::{nu, nu_error}; +use nu_test_support::fs::{files_exist_at, Stub::EmptyFile}; +use nu_test_support::playground::Playground; +use nu_test_support::{nu, nu_error}; #[test] fn removes_a_file() { diff --git a/tests/commands/save.rs b/tests/commands/save.rs index fc1bd6864..b09cd5156 100644 --- a/tests/commands/save.rs +++ b/tests/commands/save.rs @@ -1,6 +1,6 @@ -use test_support::fs::{file_contents, Stub::FileWithContent}; -use test_support::nu; -use test_support::playground::Playground; +use nu_test_support::fs::{file_contents, Stub::FileWithContent}; +use nu_test_support::nu; +use nu_test_support::playground::Playground; #[test] fn figures_out_intelligently_where_to_write_out_with_metadata() { diff --git a/tests/commands/sort_by.rs b/tests/commands/sort_by.rs index 86225ee35..4c39b1452 100644 --- a/tests/commands/sort_by.rs +++ b/tests/commands/sort_by.rs @@ -1,4 +1,4 @@ -use test_support::{nu, pipeline}; +use nu_test_support::{nu, pipeline}; #[test] fn by_column() { diff --git a/tests/commands/split_by.rs b/tests/commands/split_by.rs index 87da1f5e2..cf4a1b232 100644 --- a/tests/commands/split_by.rs +++ b/tests/commands/split_by.rs @@ -1,6 +1,6 @@ -use test_support::fs::Stub::{EmptyFile, FileWithContentToBeTrimmed}; -use test_support::playground::Playground; -use test_support::{nu, nu_error, pipeline}; +use nu_test_support::fs::Stub::{EmptyFile, FileWithContentToBeTrimmed}; +use nu_test_support::playground::Playground; +use nu_test_support::{nu, nu_error, pipeline}; #[test] fn splits() { diff --git a/tests/commands/split_column.rs b/tests/commands/split_column.rs index d95672661..da613a3e2 100644 --- a/tests/commands/split_column.rs +++ b/tests/commands/split_column.rs @@ -1,4 +1,4 @@ -use test_support::{nu, pipeline}; +use nu_test_support::{nu, pipeline}; #[test] fn by_column() { diff --git a/tests/commands/where_.rs b/tests/commands/where_.rs index a1a0d68b1..ca84bd7f9 100644 --- a/tests/commands/where_.rs +++ b/tests/commands/where_.rs @@ -1,4 +1,4 @@ -use test_support::{nu, pipeline}; +use nu_test_support::{nu, pipeline}; #[test] fn filters_by_unit_size_comparison() { diff --git a/tests/commands/wrap.rs b/tests/commands/wrap.rs index 032fa6541..eab43cad4 100644 --- a/tests/commands/wrap.rs +++ b/tests/commands/wrap.rs @@ -1,6 +1,6 @@ -use test_support::fs::Stub::FileWithContentToBeTrimmed; -use test_support::playground::Playground; -use test_support::{nu, pipeline}; +use nu_test_support::fs::Stub::FileWithContentToBeTrimmed; +use nu_test_support::playground::Playground; +use nu_test_support::{nu, pipeline}; #[test] fn wrap_rows_into_a_row() { diff --git a/tests/converting_formats/bson.rs b/tests/converting_formats/bson.rs index 5ed9515c4..febcf2619 100644 --- a/tests/converting_formats/bson.rs +++ b/tests/converting_formats/bson.rs @@ -1,4 +1,4 @@ -use test_support::{nu, pipeline}; +use nu_test_support::{nu, pipeline}; #[test] fn table_to_bson_and_back_into_table() { diff --git a/tests/converting_formats/csv.rs b/tests/converting_formats/csv.rs index 56190f56d..248df3287 100644 --- a/tests/converting_formats/csv.rs +++ b/tests/converting_formats/csv.rs @@ -1,6 +1,6 @@ -use test_support::fs::Stub::FileWithContentToBeTrimmed; -use test_support::playground::Playground; -use test_support::{nu, pipeline}; +use nu_test_support::fs::Stub::FileWithContentToBeTrimmed; +use nu_test_support::playground::Playground; +use nu_test_support::{nu, pipeline}; #[test] fn table_to_csv_text_and_from_csv_text_back_into_table() { diff --git a/tests/converting_formats/json.rs b/tests/converting_formats/json.rs index b1da5218a..5034347a0 100644 --- a/tests/converting_formats/json.rs +++ b/tests/converting_formats/json.rs @@ -1,6 +1,6 @@ -use test_support::fs::Stub::FileWithContentToBeTrimmed; -use test_support::playground::Playground; -use test_support::{nu, pipeline}; +use nu_test_support::fs::Stub::FileWithContentToBeTrimmed; +use nu_test_support::playground::Playground; +use nu_test_support::{nu, pipeline}; #[test] fn table_to_json_text_and_from_json_text_back_into_table() { diff --git a/tests/converting_formats/sqlite.rs b/tests/converting_formats/sqlite.rs index ee6a57b4a..abe83961b 100644 --- a/tests/converting_formats/sqlite.rs +++ b/tests/converting_formats/sqlite.rs @@ -1,4 +1,4 @@ -use test_support::{nu, pipeline}; +use nu_test_support::{nu, pipeline}; #[test] fn table_to_sqlite_and_back_into_table() { diff --git a/tests/converting_formats/ssv.rs b/tests/converting_formats/ssv.rs index e6f09afd9..18e0ad6f8 100644 --- a/tests/converting_formats/ssv.rs +++ b/tests/converting_formats/ssv.rs @@ -1,6 +1,6 @@ -use test_support::fs::Stub::FileWithContentToBeTrimmed; -use test_support::playground::Playground; -use test_support::{nu, pipeline}; +use nu_test_support::fs::Stub::FileWithContentToBeTrimmed; +use nu_test_support::playground::Playground; +use nu_test_support::{nu, pipeline}; #[test] fn from_ssv_text_to_table() { diff --git a/tests/converting_formats/toml.rs b/tests/converting_formats/toml.rs index b92aed37c..d634ee300 100644 --- a/tests/converting_formats/toml.rs +++ b/tests/converting_formats/toml.rs @@ -1,4 +1,4 @@ -use test_support::{nu, pipeline}; +use nu_test_support::{nu, pipeline}; #[test] fn table_to_toml_text_and_from_toml_text_back_into_table() { diff --git a/tests/converting_formats/tsv.rs b/tests/converting_formats/tsv.rs index 24b181b89..af4413844 100644 --- a/tests/converting_formats/tsv.rs +++ b/tests/converting_formats/tsv.rs @@ -1,6 +1,6 @@ -use test_support::fs::Stub::FileWithContentToBeTrimmed; -use test_support::playground::Playground; -use test_support::{nu, pipeline}; +use nu_test_support::fs::Stub::FileWithContentToBeTrimmed; +use nu_test_support::playground::Playground; +use nu_test_support::{nu, pipeline}; #[test] fn table_to_tsv_text_and_from_tsv_text_back_into_table() { diff --git a/tests/converting_formats/url.rs b/tests/converting_formats/url.rs index 1cc49f000..90ce141a2 100644 --- a/tests/converting_formats/url.rs +++ b/tests/converting_formats/url.rs @@ -1,4 +1,4 @@ -use test_support::{nu, pipeline}; +use nu_test_support::{nu, pipeline}; #[test] fn can_encode_and_decode_urlencoding() { diff --git a/tests/converting_formats/xlsx.rs b/tests/converting_formats/xlsx.rs index 973af0954..ddc945424 100644 --- a/tests/converting_formats/xlsx.rs +++ b/tests/converting_formats/xlsx.rs @@ -1,4 +1,4 @@ -use test_support::{nu, pipeline}; +use nu_test_support::{nu, pipeline}; #[test] fn from_excel_file_to_table() { diff --git a/tests/converting_formats/yaml.rs b/tests/converting_formats/yaml.rs index 2f8ad4037..663b2fec4 100644 --- a/tests/converting_formats/yaml.rs +++ b/tests/converting_formats/yaml.rs @@ -1,4 +1,4 @@ -use test_support::{nu, pipeline}; +use nu_test_support::{nu, pipeline}; #[test] fn table_to_yaml_text_and_from_yaml_text_back_into_table() { diff --git a/tests/filters.rs b/tests/filters.rs index ecdeebc68..ab2982727 100644 --- a/tests/filters.rs +++ b/tests/filters.rs @@ -1,6 +1,6 @@ -// use test_support::{nu, pipeline}; -// use test_support::playground::Playground; -// use test_support::fs::Stub::FileWithContentToBeTrimmed; +// use nu_test_support::{nu, pipeline}; +// use nu_test_support::playground::Playground; +// use nu_test_support::fs::Stub::FileWithContentToBeTrimmed; // #[test] // fn can_sum() { diff --git a/tests/main.rs b/tests/main.rs index 14be7bacf..b63f3faf4 100644 --- a/tests/main.rs +++ b/tests/main.rs @@ -1,4 +1,4 @@ -extern crate test_support; +extern crate nu_test_support; mod commands; mod converting_formats; diff --git a/tests/plugins/core_inc.rs b/tests/plugins/core_inc.rs index 691ef37c4..e77475a72 100644 --- a/tests/plugins/core_inc.rs +++ b/tests/plugins/core_inc.rs @@ -1,6 +1,6 @@ -use test_support::fs::Stub::FileWithContent; -use test_support::playground::Playground; -use test_support::{nu, nu_error}; +use nu_test_support::fs::Stub::FileWithContent; +use nu_test_support::playground::Playground; +use nu_test_support::{nu, nu_error}; #[test] fn can_only_apply_one() { diff --git a/tests/plugins/core_str.rs b/tests/plugins/core_str.rs index 5bd915fae..3f61802af 100644 --- a/tests/plugins/core_str.rs +++ b/tests/plugins/core_str.rs @@ -1,6 +1,6 @@ -use test_support::fs::Stub::FileWithContent; -use test_support::playground::Playground; -use test_support::{nu, nu_error, pipeline}; +use nu_test_support::fs::Stub::FileWithContent; +use nu_test_support::playground::Playground; +use nu_test_support::{nu, nu_error, pipeline}; #[test] fn can_only_apply_one() { diff --git a/tests/shell/mod.rs b/tests/shell/mod.rs index 1c4dd89fc..33ab1f98a 100644 --- a/tests/shell/mod.rs +++ b/tests/shell/mod.rs @@ -1,7 +1,7 @@ mod pipeline { - use test_support::fs::Stub::EmptyFile; - use test_support::playground::Playground; - use test_support::{nu, pipeline}; + use nu_test_support::fs::Stub::EmptyFile; + use nu_test_support::playground::Playground; + use nu_test_support::{nu, pipeline}; #[test] fn can_process_row_as_it_argument_to_an_external_command_given_the_it_data_is_a_string() {