Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
junegunn committed Feb 2, 2025
1 parent 7d7655b commit ade73b4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test_filter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,9 @@ def test_boundary_match
end

def test_abort_action_chain
assert_equal '1', `seq 100 | #{FZF} --bind 'load:accept+up+up'`.chomp
output = `seq 100 | #{FZF} --bind 'load:accept+up+up' 2>&1`.chomp
assert_equal 0, $CHILD_STATUS.exitstatus
assert_equal '1', output
assert_equal '', `seq 100 | #{FZF} --bind 'load:abort+become(echo {})'`.chomp
end
end

0 comments on commit ade73b4

Please sign in to comment.