Skip to content
Myr

Add test case for --tiebreak=begin

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent fcf63c7 · Browse files · 1 file+11 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+11 added−0 removed

  • tests:+11 added−0 removed

1 file+11 added−0 removed

modified:test/test_go.rb+11 added
615 unmodified lines
616 'xoxxxxxoxx',617 ], `#{FZF} -foo --tiebreak=begin,length < #{tempname}`.split($/)618 end619620 def test_tiebreak_begin_algo_v2621 writelines tempname, [622 'baz foo bar',623 'foo bar baz',624 ]625 assert_equal [626 'foo bar baz',627 'baz foo bar',628 ], `#{FZF} -fbar --tiebreak=begin --algo=v2 < #{tempname}`.split($/)629 end630631 def test_tiebreak_end632 writelines tempname, [633 'xoxxxxxxxx',634 'xxoxxxxxxx',
1015 unmodified lines