mirror of
https://github.com/nushell/nushell.git
synced 2024-11-23 08:53:29 +01:00
17 lines
312 B
Rust
17 lines
312 B
Rust
use nu_test_support::{nu, pipeline};
|
|
|
|
#[test]
|
|
fn binary_skip() {
|
|
let actual = nu!(
|
|
cwd: "tests/fixtures/formats", pipeline(
|
|
r#"
|
|
open sample_data.ods --raw |
|
|
skip 2 |
|
|
take 2 |
|
|
into int
|
|
"#
|
|
));
|
|
|
|
assert_eq!(actual.out, "772");
|
|
}
|