aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndřej Čertík <ondrej@certik.us>2020-01-27 22:59:31 -0700
committerOndřej Čertík <ondrej@certik.us>2020-01-27 23:25:25 -0700
commiteef71c890651062a4bcd97d053654ef9ed270f26 (patch)
tree2d5fd0412da1f85d80930e8bf26e4848691576b0
parentcaa6c664d92c6cadb7cc25f50eb8b21ef304c364 (diff)
downloadfpm-eef71c890651062a4bcd97d053654ef9ed270f26.tar.gz
fpm-eef71c890651062a4bcd97d053654ef9ed270f26.zip
Test "fpm run" in the same directory as fpm build
-rw-r--r--tests/cli.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/cli.rs b/tests/cli.rs
index 4ddc675..b099721 100644
--- a/tests/cli.rs
+++ b/tests/cli.rs
@@ -72,6 +72,8 @@ fn test_1() {
let mut run = fpm_bin();
run.arg("run")
+ .arg("--target-dir")
+ .arg("build-test")
.current_dir("tests/1");
run.assert()
.success2()
@@ -92,6 +94,8 @@ fn test_2() {
let mut run = fpm_bin();
run.arg("run")
+ .arg("--target-dir")
+ .arg("build-test")
.current_dir("tests/2");
run.assert()
.success2()