nushell/tests/external_tests.rs

11 lines
174 B
Rust
Raw Normal View History

mod helpers;
use helpers::in_directory as cwd;
#[test]
fn external_command() {
2019-08-29 00:32:42 +00:00
let actual = nu!(cwd("tests/fixtures"), "echo 1");
2019-08-29 00:32:42 +00:00
assert!(actual.contains("1"));
}