Remove unnecesasry test case

This commit is contained in:
Junegunn Choi 2017-01-22 17:41:47 +09:00
parent cbb5134874
commit e5017c0431
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -1095,12 +1095,6 @@ class TestGoFZF < TestBase
assert_equal 1, $?.exitstatus
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
lines = `#{FZF} --foobar 2>&1`
assert_equal 2, $?.exitstatus