From a1b60b1d42267726e429118d2f8283ea95b3fd71 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 20 Dec 2015 01:41:18 +0900 Subject: [PATCH] Fix Travis CI build The size of pseudo-terminal in Travis CI environment can be small --- 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 f36f98b2..1e13ba38 100644 --- a/test/test_go.rb +++ b/test/test_go.rb @@ -881,7 +881,7 @@ class TestGoFZF < TestBase }.each do |ts, exp| tmux.prepare tmux.send_keys %[cat #{tempname} | fzf --tabstop=#{ts}], :Enter - tmux.until { |lines| lines[-3] == exp } + tmux.until { |lines| exp.start_with? lines[-3].to_s.strip.sub(/\.\.$/, '') } tmux.send_keys :Enter end end