2022-06-19 07:56:31 +03:00
|
|
|
use super::*;
|
2022-01-03 03:51:22 +03:00
|
|
|
|
|
|
|
#[test]
|
|
|
|
fn infallible_after_quiet() {
|
|
|
|
Test::new()
|
|
|
|
.justfile(
|
|
|
|
"
|
|
|
|
foo:
|
|
|
|
@-exit 1
|
|
|
|
",
|
|
|
|
)
|
|
|
|
.run();
|
|
|
|
}
|
|
|
|
|
|
|
|
#[test]
|
|
|
|
fn quiet_after_infallible() {
|
|
|
|
Test::new()
|
|
|
|
.justfile(
|
|
|
|
"
|
|
|
|
foo:
|
|
|
|
-@exit 1
|
|
|
|
",
|
|
|
|
)
|
|
|
|
.run();
|
|
|
|
}
|