nushell/tests/external_tests.rs

12 lines
161 B
Rust
Raw Normal View History

mod helpers;
#[test]
fn external_command() {
2019-08-29 08:31:56 +02:00
let actual = nu!(
2019-09-11 16:36:50 +02:00
cwd: "tests/fixtures",
"echo 1"
2019-08-29 08:31:56 +02:00
);
2019-08-29 02:32:42 +02:00
assert!(actual.contains("1"));
}