Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoseph Frazer <joseph.frazer@ryansg.com>2020-03-06 11:29:04 -0500
committerJoseph Frazer <joseph.frazer@ryansg.com>2020-03-06 12:24:45 -0500
commit590245e191bcdd5fc0057c21785137083fc63759 (patch)
tree4e9f4ca9dce41419c74a43fb27dc1a451acbda39 /tamer/tests
parentbfea768f893dfd6fdddc9f620dac95757770b682 (diff)
downloadtame-590245e191bcdd5fc0057c21785137083fc63759.tar.gz
tame-590245e191bcdd5fc0057c21785137083fc63759.tar.bz2
tame-590245e191bcdd5fc0057c21785137083fc63759.zip
[DEV-7134] Escalate the error from finding the absolute path
We do not want to have a panic here. The error should be displayed properly.
Diffstat (limited to 'tamer/tests')
-rw-r--r--tamer/tests/tameld.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tamer/tests/tameld.rs b/tamer/tests/tameld.rs
index 98d1974..30b2fea 100644
--- a/tamer/tests/tameld.rs
+++ b/tamer/tests/tameld.rs
@@ -61,6 +61,7 @@ fn link_input_file_does_not_exist() -> Result<(), Box<dyn std::error::Error>> {
cmd.arg("-o").arg("tests/data/test-output.xmle");
cmd.assert()
.failure()
+ .code(1)
.stderr(predicate::str::contains("No such file or directory"));
Ok(())