let a simple last be a single value (#5060)

This commit is contained in:
JT
2022-04-01 23:12:31 +13:00
committed by GitHub
parent 9beecff736
commit 4bb95a880f
3 changed files with 33 additions and 16 deletions

View File

@ -20,7 +20,6 @@ fn splits_correctly_single_path() {
'home/viking/spam.txt'
| path split
| last
| get 0
"#
));