aboutsummaryrefslogtreecommitdiff
path: root/tests/cli.rs
diff options
context:
space:
mode:
authorOndřej Čertík <ondrej@certik.us>2020-01-18 07:55:22 -0700
committerOndřej Čertík <ondrej@certik.us>2020-01-18 07:55:22 -0700
commit193c2fb8959014de499ff77ec2509b4523268c8c (patch)
tree867ddd932e22403bea6fd477ceb5036281326e4a /tests/cli.rs
parent494fdda13db2944bda8e8c7e92ace6b65d448204 (diff)
downloadfpm-193c2fb8959014de499ff77ec2509b4523268c8c.tar.gz
fpm-193c2fb8959014de499ff77ec2509b4523268c8c.zip
Implement --target-dir
Diffstat (limited to 'tests/cli.rs')
-rw-r--r--tests/cli.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/cli.rs b/tests/cli.rs
index 2d32e4d..3573113 100644
--- a/tests/cli.rs
+++ b/tests/cli.rs
@@ -58,6 +58,8 @@ fn test_help() {
fn test_1() {
let mut build = Command::cargo_bin("fpm").unwrap();
build.arg("build")
+ .arg("--target-dir")
+ .arg("build-test")
.current_dir("tests/1");
build.assert()
.success2()
@@ -76,6 +78,8 @@ fn test_1() {
fn test_2() {
let mut build = Command::cargo_bin("fpm").unwrap();
build.arg("build")
+ .arg("--target-dir")
+ .arg("build-test")
.current_dir("tests/2");
build.assert()
.success2()