From 8973207bb4e1b27c3123e2d5132001ea7d8bb67d Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 14 Jun 2015 02:13:02 +0900 Subject: [PATCH] Fix Travis CI build --- test/test_go.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_go.rb b/test/test_go.rb index f7267601..d36bc4d9 100644 --- a/test/test_go.rb +++ b/test/test_go.rb @@ -580,6 +580,7 @@ class TestGoFZF < TestBase tmux.until { |lines| lines[-2].include? '1/100' } tmux.send_keys :Enter end + readonce assert_equal input[1..-1], File.readlines(history_file) # Update history entries (not changed on disk) @@ -600,6 +601,7 @@ class TestGoFZF < TestBase tmux.send_keys 0 tmux.until { |lines| lines[-1].end_with? '> 310' } tmux.send_keys :Enter + readonce assert_equal %w[22 33 44 310].map { |e| e + $/ }, File.readlines(history_file) # Respect --bind option