summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/test_go.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_go.rb b/test/test_go.rb
index 771064ee..7b1f70a8 100755
--- a/test/test_go.rb
+++ b/test/test_go.rb
@@ -741,6 +741,12 @@ class TestGoFZF < TestBase
'xxoxxxxxxx',
'xoxxxxxxxx'
], `#{FZF} -fo --tiebreak=end,length,begin < #{tempname}`.lines(chomp: true)
+
+ writelines(tempname, ['/bar/baz', '/foo/bar/baz'])
+ assert_equal [
+ '/foo/bar/baz',
+ '/bar/baz',
+ ], `#{FZF} -fbaz --tiebreak=end < #{tempname}`.lines(chomp: true)
end
def test_tiebreak_length_with_nth