Skip to content
Myr

Fix Travis CI build

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent 2166b4c · Browse files · 3 files+7 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+7 added−3 removed

  • tests:+2 added−2 removed
  • other:+5 added−1 removed

3 files+7 added−3 removed

modified:test/test_go.rb+2 added-2 removed
107 unmodified lines
108 lines = capture109 class << lines110 def counts111 lazy112 .map { |l| l.scan(%r{^. ([0-9]+)\/([0-9]+)( \(([0-9]+)\))?}) }112 .map { |l| l.scan(%r{^. ([0-9]+)/([0-9]+)( \(([0-9]+)\))?}) }113 .reject(&:empty?)114 .first&.first&.map(&:to_i)&.values_at(0, 1, 3) || [0, 0, 0]115 end116
1934 unmodified lines
2051 tmux.send_keys :xx2052 tmux.until { |lines| assert_equal 'cd /tmp/fzf-test/d55/xx', lines[-1] }20532054 # Should not match regular files (bash-only)2055 if self.class == TestBash2055 if instance_of?(TestBash)2056 tmux.send_keys :Tab2057 tmux.until { |lines| assert_equal 'cd /tmp/fzf-test/d55/xx', lines[-1] }2058 end2059
242 unmodified lines
modified:.rubocop.yml+4 added
modified:.travis.yml+1 added-1 removed