From c2f6dfa75c12fde2091255e2bc6c6626c15c43ed Mon Sep 17 00:00:00 2001 From: Michael Angerman <1809991+stormasm@users.noreply.github.com> Date: Fri, 4 Feb 2022 12:08:25 -0800 Subject: [PATCH] add nth tests to mod.rs (#934) --- crates/nu-command/tests/commands/mod.rs | 1 + crates/nu-command/tests/commands/nth.rs | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/crates/nu-command/tests/commands/mod.rs b/crates/nu-command/tests/commands/mod.rs index f557aaee5a..8db5a5af3b 100644 --- a/crates/nu-command/tests/commands/mod.rs +++ b/crates/nu-command/tests/commands/mod.rs @@ -34,6 +34,7 @@ mod math; mod merge; mod mkdir; mod move_; +mod nth; mod open; mod parse; mod path; diff --git a/crates/nu-command/tests/commands/nth.rs b/crates/nu-command/tests/commands/nth.rs index a65dcd7ed0..bd396fea8f 100644 --- a/crates/nu-command/tests/commands/nth.rs +++ b/crates/nu-command/tests/commands/nth.rs @@ -1,3 +1,7 @@ +use nu_test_support::fs::Stub::EmptyFile; +use nu_test_support::playground::Playground; +use nu_test_support::{nu, pipeline}; + #[test] fn selects_a_row() { Playground::setup("nth_test_1", |dirs, sandbox| {