mirror of
https://github.com/nushell/nushell
synced 2024-12-30 15:03:25 +00:00
6951fb440c
* Remove it-expansion, take 2 * Cleanup * silly update to test CI
13 lines
264 B
Rust
13 lines
264 B
Rust
use nu_test_support::{nu, pipeline};
|
|
|
|
#[test]
|
|
fn echo_range_is_lazy() {
|
|
let actual = nu!(
|
|
cwd: "tests/fixtures/formats", pipeline(
|
|
r#"
|
|
echo 1..10000000000 | first 3 | to json
|
|
"#
|
|
));
|
|
|
|
assert_eq!(actual.out, "[1,2,3]");
|
|
}
|