diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2015-04-14 21:45:37 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2015-04-14 21:45:37 +0900 |
commit | 5c25984ea01677eb759501a5cff3fa63d2d460d8 (patch) | |
tree | f73b7dd481bcb277372e8ac6f11a7ddede995ad1 /test | |
parent | 319d6ced80712eedc818d6d9f9982be4860b2c01 (diff) |
Fix Unicode case handling (#186)
Diffstat (limited to 'test')
-rw-r--r-- | test/test_go.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test_go.rb b/test/test_go.rb index 94093ff1..a4b19700 100644 --- a/test/test_go.rb +++ b/test/test_go.rb @@ -470,6 +470,13 @@ class TestGoFZF < TestBase tmux.send_keys :Enter assert_equal ['111', '11'], readonce.split($/) end + + def test_unicode_case + assert_equal %w[СТРОКА2 Строка4], + `printf "строКА1\\nСТРОКА2\\nстрока3\\nСтрока4" | fzf -fС`.split($/) + assert_equal %w[строКА1 СТРОКА2 строка3 Строка4], + `printf "строКА1\\nСТРОКА2\\nстрока3\\nСтрока4" | fzf -fс`.split($/) + end end module TestShell |