1
0
mirror of https://github.com/casey/just synced 2024-07-08 20:16:14 +00:00
just/tests/private.rs

41 lines
491 B
Rust
Raw Normal View History

use super::*;
#[test]
fn private_attribute_for_recipe() {
Test::new()
.justfile(
"
[private]
foo:
",
)
2023-01-04 06:31:56 +00:00
.args(["--list"])
.stdout(
"
Available recipes:
",
)
.run();
}
#[test]
fn private_attribute_for_alias() {
Test::new()
.justfile(
"
[private]
alias f := foo
foo:
",
)
2023-01-04 06:31:56 +00:00
.args(["--list"])
.stdout(
"
Available recipes:
foo
",
)
.run();
}