mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-17 15:53:39 -05:00
Ignore invalid UTF-8 sequences
This commit is contained in:
@@ -288,5 +288,10 @@ class TestFZF < MiniTest::Unit::TestCase
|
||||
assert_equal NFD, nfd
|
||||
end
|
||||
end
|
||||
|
||||
def test_split
|
||||
assert_equal ["a", "b", "c", "\xFF", "d", "e", "f"],
|
||||
FZF::UConv.split("abc\xFFdef")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user