More renames

This commit is contained in:
Jonathan Turner 2019-12-18 07:54:39 +13:00
parent 08571392e6
commit 4322d373e6
45 changed files with 99 additions and 99 deletions

View File

@ -1,4 +1,4 @@
use test_support::{nu, pipeline};
use nu_test_support::{nu, pipeline};
#[test]
fn adds_a_row_to_the_end() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -1,4 +1,4 @@
use test_support::{nu, pipeline};
use nu_test_support::{nu, pipeline};
#[test]
fn insert_plugin() {

View File

@ -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() {

View File

@ -1,4 +1,4 @@
use test_support::{nu, pipeline};
use nu_test_support::{nu, pipeline};
#[test]
fn lines() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -1,4 +1,4 @@
use test_support::{nu, pipeline};
use nu_test_support::{nu, pipeline};
#[test]
fn extracts_fields_from_the_given_the_pattern() {

View File

@ -1,4 +1,4 @@
use test_support::{nu, pipeline};
use nu_test_support::{nu, pipeline};
#[test]
fn adds_a_row_to_the_beginning() {

View File

@ -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() {

View File

@ -1,4 +1,4 @@
use test_support::nu;
use nu_test_support::nu;
#[test]
fn can_get_reverse_first() {

View File

@ -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() {

View File

@ -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() {

View File

@ -1,4 +1,4 @@
use test_support::{nu, pipeline};
use nu_test_support::{nu, pipeline};
#[test]
fn by_column() {

View File

@ -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() {

View File

@ -1,4 +1,4 @@
use test_support::{nu, pipeline};
use nu_test_support::{nu, pipeline};
#[test]
fn by_column() {

View File

@ -1,4 +1,4 @@
use test_support::{nu, pipeline};
use nu_test_support::{nu, pipeline};
#[test]
fn filters_by_unit_size_comparison() {

View File

@ -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() {

View File

@ -1,4 +1,4 @@
use test_support::{nu, pipeline};
use nu_test_support::{nu, pipeline};
#[test]
fn table_to_bson_and_back_into_table() {

View File

@ -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() {

View File

@ -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() {

View File

@ -1,4 +1,4 @@
use test_support::{nu, pipeline};
use nu_test_support::{nu, pipeline};
#[test]
fn table_to_sqlite_and_back_into_table() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -1,4 +1,4 @@
use test_support::{nu, pipeline};
use nu_test_support::{nu, pipeline};
#[test]
fn can_encode_and_decode_urlencoding() {

View File

@ -1,4 +1,4 @@
use test_support::{nu, pipeline};
use nu_test_support::{nu, pipeline};
#[test]
fn from_excel_file_to_table() {

View File

@ -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() {

View File

@ -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() {

View File

@ -1,4 +1,4 @@
extern crate test_support;
extern crate nu_test_support;
mod commands;
mod converting_formats;

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {