2022-06-18 21:56:31 -07:00
|
|
|
use super::*;
|
2022-05-03 22:04:55 -07:00
|
|
|
|
|
|
|
#[test]
|
|
|
|
fn dont_run_duplicate_recipes() {
|
|
|
|
Test::new()
|
|
|
|
.justfile(
|
|
|
|
"
|
|
|
|
foo:
|
|
|
|
# foo
|
|
|
|
",
|
|
|
|
)
|
2023-01-03 22:31:56 -08:00
|
|
|
.args(["foo", "foo"])
|
2022-05-03 22:04:55 -07:00
|
|
|
.stderr(
|
|
|
|
"
|
|
|
|
# foo
|
|
|
|
",
|
|
|
|
)
|
|
|
|
.run();
|
|
|
|
}
|