summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2016-10-18 01:11:04 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2016-10-18 01:13:57 +0900
commit0541c0dbcf96ff40bd80cb8359191dc0fa01d83d (patch)
treef94da19833c22b5bce88962719fb82dae58d2cd3 /test
parent47b11cb8b48ae63399e7cc75e621a783ba217e15 (diff)
Use relative position instead of absolute distance for --tiebreak=end
Fix unintuitive result where `*fzf*/install` is ranked higher than `fzf/src/fzf/*fzf*-linux_386` on --tiebreak=end.
Diffstat (limited to 'test')
-rw-r--r--test/test_go.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_go.rb b/test/test_go.rb
index ff4b173b..dd132d30 100644
--- a/test/test_go.rb
+++ b/test/test_go.rb
@@ -604,8 +604,8 @@ class TestGoFZF < TestBase
], `#{FZF} -fo --tiebreak=end < #{tempname}`.split($/)
assert_equal [
- ' xxxxoxxx',
'xxxxxoxxx',
+ ' xxxxoxxx',
'xxxxoxxxx',
'xxxoxxxxxx',
'xxoxxxxxxx',