just/tests/run.rs

20 lines
227 B
Rust
Raw Normal View History

use crate::common::*;
#[test]
fn dont_run_duplicate_recipes() {
Test::new()
.justfile(
"
foo:
# foo
",
)
.args(&["foo", "foo"])
.stderr(
"
# foo
",
)
.run();
}