mirror of
https://github.com/junegunn/fzf.git
synced 2026-10-29 09:05:53 +00:00
Fix index out of bounds error during Transform
This commit is contained in:
1 parent
b42dcdb7a7
commit
ee2ee02599
2 files changed
+11
-1
No files matched your search
@@ -95,3 +95,7 @@ func TestTransform(t *testing.T) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestTransformIndexOutOfBounds(t *testing.T) {
|
||||
Transform([]Token{}, splitNth("1"))
|
||||
}
|
||||
Reference in new issue
Block a user