Fix GitHub Action build

$USER is missing
This commit is contained in:
Junegunn Choi 2021-03-07 18:05:39 +09:00
parent 9fe2393a00
commit 4c06da8b70
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -2186,7 +2186,7 @@ module CompletionTest
end
# ~USERNAME**<TAB>
user = ENV['USER']
user = `whoami`.chomp
tmux.send_keys 'C-u'
tmux.send_keys "cat ~#{user}**", :Tab
tmux.until { |lines| assert_operator lines.match_count, :>, 0 }