From 4c06da8b70d449e8c06d6bc33e8838784553eec3 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 7 Mar 2021 18:05:39 +0900 Subject: [PATCH] Fix GitHub Action build $USER is missing --- test/test_go.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_go.rb b/test/test_go.rb index 74c4db6..175a800 100755 --- a/test/test_go.rb +++ b/test/test_go.rb @@ -2186,7 +2186,7 @@ module CompletionTest end # ~USERNAME** - 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 }