mirror of
https://github.com/casey/just.git
synced 2024-11-25 07:06:23 +03:00
23 lines
362 B
Rust
23 lines
362 B
Rust
use super::*;
|
|
|
|
#[test]
|
|
fn explain_recipe() {
|
|
Test::new()
|
|
.justfile(
|
|
"
|
|
# List some fruits
|
|
fruits:
|
|
echo 'apple peach dragonfruit'
|
|
",
|
|
)
|
|
.args(["--explain", "fruits"])
|
|
.stdout("apple peach dragonfruit\n")
|
|
.stderr(
|
|
"
|
|
#### List some fruits
|
|
echo 'apple peach dragonfruit'
|
|
",
|
|
)
|
|
.run();
|
|
}
|