1
1
mirror of https://github.com/casey/just.git synced 2024-11-22 18:34:06 +03:00
just/tests/explain.rs

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();
}