Skip to content

Commit

Permalink
Correct Rubocop offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
Uaitt committed May 21, 2024
1 parent f627992 commit 9ec8d70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cli_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ def test_no_yaml
def test_version_flag
read, write = IO.pipe
# optparse --version immediately call exit so we test in a subprocess
pid = fork do
STDOUT.reopen(write)
pid = fork do
$stdout.reopen(write)
read.close
exit(CLI.new(["--version"]).run)
end
Expand Down

0 comments on commit 9ec8d70

Please sign in to comment.