diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2015-06-14 02:13:02 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2015-06-14 02:13:02 +0900 |
commit | 8973207bb4e1b27c3123e2d5132001ea7d8bb67d (patch) | |
tree | 394475851d9c27a2db2749ee0b6a73d2bb9a2aa9 | |
parent | 6ad1736832fc241534e537119d16eff3474dc09b (diff) |
Fix Travis CI build
-rw-r--r-- | test/test_go.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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 |