Skip to content
This repository was archived by the owner on Dec 29, 2021. It is now read-only.

Commit 8a01125

Browse files
committed
expect success by default + cleanup
1 parent f45db85 commit 8a01125

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
static ERROR_PREFIX: &'static str = "CLI assertion failed";
1+
const ERROR_PREFIX: &'static str = "CLI assertion failed";
22

33
error_chain! {
44
foreign_links {

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ impl std::default::Default for Assert {
138138
Assert {
139139
cmd: vec!["cargo", "run", "--"]
140140
.into_iter().map(String::from).collect(),
141-
expect_success: None,
141+
expect_success: Some(true),
142142
expect_exit_code: None,
143143
expect_stdout: None,
144144
expect_stderr: None,

0 commit comments

Comments
 (0)