From 48863ac55cc25f8e940cf21f5c32943de90f50c9 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sat, 14 Jan 2017 01:04:03 +0900 Subject: [PATCH] Update invalid $TERM test case --- test/test_go.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_go.rb b/test/test_go.rb index 494d3cd..e41201f 100644 --- a/test/test_go.rb +++ b/test/test_go.rb @@ -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