1
1
mirror of https://github.com/casey/just.git synced 2024-11-23 02:44:56 +03:00
just/tests/backticks.rs

18 lines
266 B
Rust
Raw Normal View History

use super::*;
#[test]
fn trailing_newlines_are_stripped() {
Test::new()
.shell(false)
.args(["--evaluate", "foos"])
.justfile(
"
set shell := ['python3', '-c']
foos := `print('foo' * 4)`
",
)
.stdout("foofoofoofoo")
.run();
}