mirror of
https://github.com/nushell/nushell.git
synced 2025-03-29 09:06:52 +01:00
14 lines
267 B
Rust
14 lines
267 B
Rust
use nu_test_support::{nu, pipeline};
|
|
|
|
#[test]
|
|
fn echo_range_is_lazy() {
|
|
let actual = nu!(
|
|
cwd: "tests/fixtures/formats", pipeline(
|
|
r#"
|
|
alias bar = source sample_def.nu; bar; greet
|
|
"#
|
|
));
|
|
|
|
assert_eq!(actual.out, "hello");
|
|
}
|