Skip to content
Myr

test: accept-nth: add test case with empty column

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Daniel Eklöf · committed by Daniel Eklöf · parent 9c22de1 · Browse files · 1 file+3 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−0 removed

  • tests:+3 added−0 removed

1 file+3 added−0 removed

modified:test/accept-nth.fish+3 added
37 unmodified lines
38@test "--accept-nth with invalid open index range" "$got" = "{2.} {2...}"3940test_accept_nth "apple\tbanana\tcherry" "apple" "{..2}"41@test "--accept-nth with invalid open index range" "$got" = "{..2}"4243test_accept_nth "first\t\tthird" "first" "{3}"44@test "--accept-nth with empty column" "$got" = "third"