mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
fixed valgrind crate
This commit is contained in:
parent
c64160ac73
commit
0e28199b49
4 changed files with 32 additions and 10 deletions
|
@ -65,6 +65,10 @@ impl CmdOut {
|
|||
pub fn assert_clean_success(&self) {
|
||||
self.assert_success_with_no_unexpected_errors();
|
||||
}
|
||||
|
||||
pub fn assert_zero_exit(&self) {
|
||||
assert!(self.status.success(), "Command failed\n\n{self}");
|
||||
}
|
||||
|
||||
pub fn assert_nonzero_exit(&self) {
|
||||
assert!(!self.status.success());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue