mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-17 15:53:39 -05:00
Update invalid $TERM test case
This commit is contained in:
@@ -1081,7 +1081,7 @@ class TestGoFZF < TestBase
|
||||
end
|
||||
|
||||
def test_invalid_term
|
||||
lines = `TERM=xxx #{FZF}`
|
||||
lines = `TERM=xxx #{FZF} 2>&1`
|
||||
assert_equal 2, $?.exitstatus
|
||||
assert lines.include?('Invalid $TERM: xxx') || lines.include?('terminal entry not found')
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user