mirror of
https://github.com/casey/just.git
synced 2024-11-26 11:43:43 +03:00
26 lines
296 B
Rust
26 lines
296 B
Rust
|
use crate::common::*;
|
||
|
|
||
|
#[test]
|
||
|
fn infallible_after_quiet() {
|
||
|
Test::new()
|
||
|
.justfile(
|
||
|
"
|
||
|
foo:
|
||
|
@-exit 1
|
||
|
",
|
||
|
)
|
||
|
.run();
|
||
|
}
|
||
|
|
||
|
#[test]
|
||
|
fn quiet_after_infallible() {
|
||
|
Test::new()
|
||
|
.justfile(
|
||
|
"
|
||
|
foo:
|
||
|
-@exit 1
|
||
|
",
|
||
|
)
|
||
|
.run();
|
||
|
}
|