diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2022-11-18 16:18:11 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2022-11-18 20:16:43 +0900 |
| commit | 1bebd6f4f5fac7c98ad01696fd819c3c82e41ec6 (patch) | |
| tree | 93e6f1e4c1528fc2cd8f1035b82555fd02978c88 /test | |
| parent | 3da63f394d016b6ad1861a022ea60b597d6ac030 (diff) | |
| download | fzf-1bebd6f4f5fac7c98ad01696fd819c3c82e41ec6.tar.gz | |
Fix panic on inverse match query with `--tiebreak=chunk`
Fix #3055
Diffstat (limited to 'test')
| -rwxr-xr-x | test/test_go.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_go.rb b/test/test_go.rb index 41767fce..b7ae1511 100755 --- a/test/test_go.rb +++ b/test/test_go.rb @@ -779,6 +779,10 @@ class TestGoFZF < TestBase '2 foobar baz', '3 foo barbaz' ], `#{FZF} -fba --tiebreak=chunk < #{tempname}`.lines(chomp: true) + + assert_equal [ + '3 foo barbaz' + ], `#{FZF} -f'!foobar' --tiebreak=chunk < #{tempname}`.lines(chomp: true) end def test_invalid_cache |
