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