1
1
mirror of https://github.com/casey/just.git synced 2024-11-23 11:04:09 +03:00
just/tests/equals.rs

30 lines
392 B
Rust
Raw Normal View History

2021-10-02 04:37:28 +03:00
use crate::common::*;
#[test]
fn export_recipe() {
Test::new()
.justfile(
"
export foo='bar':
echo {{foo}}
",
)
.stdout("bar\n")
.stderr("echo bar\n")
.run();
}
#[test]
fn alias_recipe() {
Test::new()
.justfile(
"
alias foo='bar':
echo {{foo}}
",
)
.stdout("bar\n")
.stderr("echo bar\n")
.run();
}