aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorOndřej Čertík <ondrej@certik.us>2020-01-18 09:50:08 -0700
committerGitHub <noreply@github.com>2020-01-18 09:50:08 -0700
commitaf56c5890cd28f051147e36fa3c1d8553ec944ea (patch)
tree867ddd932e22403bea6fd477ceb5036281326e4a /tests
parent494fdda13db2944bda8e8c7e92ace6b65d448204 (diff)
parent193c2fb8959014de499ff77ec2509b4523268c8c (diff)
downloadfpm-af56c5890cd28f051147e36fa3c1d8553ec944ea.tar.gz
fpm-af56c5890cd28f051147e36fa3c1d8553ec944ea.zip
Merge pull request #23 from certik/target_dir
Implement --target-dir
Diffstat (limited to 'tests')
-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()