just/tests/line_prefixes.rs

26 lines
288 B
Rust
Raw Permalink Normal View History

use super::*;
#[test]
fn infallible_after_quiet() {
Test::new()
.justfile(
"
foo:
@-exit 1
",
)
.run();
}
#[test]
fn quiet_after_infallible() {
Test::new()
.justfile(
"
foo:
-@exit 1
",
)
.run();
}