nushell/crates/nu-command/tests/commands/skip
Wind 187b87c61c
Don't allow skip on external stream (#12559)
# Description
Close: #12514

# User-Facing Changes
`^ls | skip 1` will raise an error
```nushell
❯ ^ls | skip 1
Error: nu:🐚:only_supports_this_input_type

  × Input type not supported.
   ╭─[entry #1:1:2]
 1 │ ^ls | skip 1
   ·  ─┬   ──┬─
   ·   │     ╰── only list, binary or range input data is supported
   ·   ╰── input type: raw data
   ╰────
```

# Tests + Formatting
Sorry I can't add it because of the issue:
https://github.com/nushell/nushell/issues/12558

# After Submitting
Nan
2024-04-19 14:54:59 +00:00
..
mod.rs Fix 'skip' support for binary streams (#5943) 2022-07-04 19:53:54 +12:00
skip_.rs Don't allow skip on external stream (#12559) 2024-04-19 14:54:59 +00:00
until.rs Remove file I/O from tests that don't need it (#11182) 2023-11-29 23:21:34 +01:00
while_.rs Remove file I/O from tests that don't need it (#11182) 2023-11-29 23:21:34 +01:00