diff --git a/crates/nu-command/tests/commands/find.rs b/crates/nu-command/tests/commands/find.rs index 959257ea9c..2dcfb7d925 100644 --- a/crates/nu-command/tests/commands/find.rs +++ b/crates/nu-command/tests/commands/find.rs @@ -14,14 +14,12 @@ fn find_with_list_search_with_string() { assert_eq!(actual.out, "moe"); } -// FIXME: jt: needs more work -#[ignore] #[test] fn find_with_list_search_with_char() { let actual = nu!( cwd: ".", pipeline( r#" - [moe larry curly] | find l | to json + [moe larry curly] | find l | to json -r "# )); @@ -64,8 +62,6 @@ fn find_with_string_search_with_string_not_found() { assert_eq!(actual.out, ""); } -// FIXME: jt: needs more work -#[ignore] #[test] fn find_with_filepath_search_with_string() { Playground::setup("filepath_test_1", |dirs, sandbox| { @@ -82,16 +78,14 @@ fn find_with_filepath_search_with_string() { ls | get name | find arep - | to json + | to json -r "# )); - assert_eq!(actual.out, r#""arepas.clu""#); + assert_eq!(actual.out, r#"["arepas.clu"]"#); }) } -// FIXME: jt: needs more work -#[ignore] #[test] fn find_with_filepath_search_with_multiple_patterns() { Playground::setup("filepath_test_2", |dirs, sandbox| { @@ -108,7 +102,7 @@ fn find_with_filepath_search_with_multiple_patterns() { ls | get name | find arep ami - | to json + | to json -r "# ));