summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2015-12-20 01:41:18 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2015-12-20 01:47:07 +0900
commita1b60b1d42267726e429118d2f8283ea95b3fd71 (patch)
tree1d8b792ba8815da0d4bd58b39b29ae8d0d4267e9
parentb5850ebd4c70cad83cabbe678bf7627758841a12 (diff)
Fix Travis CI build
The size of pseudo-terminal in Travis CI environment can be small
-rw-r--r--test/test_go.rb2
1 files changed, 1 insertions, 1 deletions
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