mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-19 06:23:49 -07:00
Remove unnecesasry test case
This commit is contained in:
@@ -1095,12 +1095,6 @@ class TestGoFZF < TestBase
|
|||||||
assert_equal 1, $?.exitstatus
|
assert_equal 1, $?.exitstatus
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_invalid_term
|
|
||||||
lines = `TERM=xxx #{FZF} 2>&1`
|
|
||||||
assert_equal 2, $?.exitstatus
|
|
||||||
assert lines.include?('Invalid $TERM: xxx') || lines.include?('terminal entry not found')
|
|
||||||
end
|
|
||||||
|
|
||||||
def test_invalid_option
|
def test_invalid_option
|
||||||
lines = `#{FZF} --foobar 2>&1`
|
lines = `#{FZF} --foobar 2>&1`
|
||||||
assert_equal 2, $?.exitstatus
|
assert_equal 2, $?.exitstatus
|
||||||
|
Reference in New Issue
Block a user