Check content of the error message
in ask_the_preprocessor_to_blow_up
This commit is contained in:
parent
b0cf568ba4
commit
cf5a78c0e1
1 changed files with 5 additions and 0 deletions
|
|
@ -43,6 +43,11 @@ fn ask_the_preprocessor_to_blow_up() {
|
||||||
let got = md.build();
|
let got = md.build();
|
||||||
|
|
||||||
assert!(got.is_err());
|
assert!(got.is_err());
|
||||||
|
let error_message = got.err().unwrap().to_string();
|
||||||
|
assert_eq!(
|
||||||
|
error_message,
|
||||||
|
r#"The "nop-preprocessor" preprocessor exited unsuccessfully with exit status: 1 status"#
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue