From 4322d373e69e3d0dfa2da5c195f932fbf9682c12 Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Wed, 18 Dec 2019 07:54:39 +1300 Subject: [PATCH] More renames --- tests/commands/append.rs | 2 +- tests/commands/cd.rs | 6 +++--- tests/commands/compact.rs | 6 +++--- tests/commands/cp.rs | 6 +++--- tests/commands/default.rs | 6 +++--- tests/commands/edit.rs | 2 +- tests/commands/enter.rs | 6 +++--- tests/commands/first.rs | 6 +++--- tests/commands/format.rs | 2 +- tests/commands/get.rs | 6 +++--- tests/commands/group_by.rs | 6 +++--- tests/commands/histogram.rs | 6 +++--- tests/commands/insert.rs | 2 +- tests/commands/last.rs | 6 +++--- tests/commands/lines.rs | 2 +- tests/commands/ls.rs | 6 +++--- tests/commands/mkdir.rs | 6 +++--- tests/commands/mv.rs | 6 +++--- tests/commands/open.rs | 6 +++--- tests/commands/parse.rs | 2 +- tests/commands/prepend.rs | 2 +- tests/commands/range.rs | 6 +++--- tests/commands/reverse.rs | 2 +- tests/commands/rm.rs | 6 +++--- tests/commands/save.rs | 6 +++--- tests/commands/sort_by.rs | 2 +- tests/commands/split_by.rs | 6 +++--- tests/commands/split_column.rs | 2 +- tests/commands/where_.rs | 2 +- tests/commands/wrap.rs | 6 +++--- tests/converting_formats/bson.rs | 2 +- tests/converting_formats/csv.rs | 6 +++--- tests/converting_formats/json.rs | 6 +++--- tests/converting_formats/sqlite.rs | 2 +- tests/converting_formats/ssv.rs | 6 +++--- tests/converting_formats/toml.rs | 2 +- tests/converting_formats/tsv.rs | 6 +++--- tests/converting_formats/url.rs | 2 +- tests/converting_formats/xlsx.rs | 2 +- tests/converting_formats/yaml.rs | 2 +- tests/filters.rs | 6 +++--- tests/main.rs | 2 +- tests/plugins/core_inc.rs | 6 +++--- tests/plugins/core_str.rs | 6 +++--- tests/shell/mod.rs | 6 +++--- 45 files changed, 99 insertions(+), 99 deletions(-) diff --git a/tests/commands/append.rs b/tests/commands/append.rs index 96ada15769..8d5fc36b3c 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 bc295d8f90..7bfcabc40a 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 6e90fc1cfc..8e5bc8fa4e 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 4d6843998e..511204e350 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 35f3fb52ac..aa2c94ef31 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 553c879b49..f68e83efea 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 8d401eb4f4..27444fba73 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 a57cf074c3..00b6bbcf1a 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 e029f9039e..3540f60264 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 8e3714dca7..f50a1e4be1 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 4a83f44958..b4eb06354f 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 b9f44b72b5..74ae74a1af 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 3c7bda415d..89bb0b93fa 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 0d5aa82f3a..652ccefb5c 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 e09a710d0e..e11569e2a4 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 91464b8ca7..407202dff1 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 86ceed3bbd..5c3173eb7e 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 eb7d0f0245..32e9efd75f 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 137f7f2600..b4f9fc44b8 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 5246c0dc76..805e50fb18 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 46c881a5f7..f728dadfab 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 cf4fa79ba7..3594cdf879 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 0f0bd9f072..436eeed421 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 17f924430a..6629d8c768 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 fc1bd68648..b09cd51563 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 86225ee355..4c39b14521 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 87da1f5e2c..cf4a1b232f 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 d956726614..da613a3e2b 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 a1a0d68b10..ca84bd7f99 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 032fa6541c..eab43cad43 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 5ed9515c49..febcf2619b 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 56190f56d3..248df32871 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 b1da5218a6..5034347a07 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 ee6a57b4a7..abe83961bf 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 e6f09afd93..18e0ad6f83 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 b92aed37ce..d634ee3006 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 24b181b890..af4413844e 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 1cc49f000c..90ce141a23 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 973af09545..ddc9454242 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 2f8ad40376..663b2fec49 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 ecdeebc68a..ab29827279 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 14be7bacfc..b63f3faf42 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 691ef37c45..e77475a725 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 5bd915fae6..3f61802af2 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 1c4dd89fc7..33ab1f98a5 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() {