Skip to content

Commit

Permalink
Merge pull request #486 from Uaitt/correct-rubocop-offenses
Browse files Browse the repository at this point in the history
Correct Rubocop offenses
  • Loading branch information
casperisfine authored May 24, 2024
2 parents f627992 + 9ec8d70 commit e76fe38
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 e76fe38

Please sign in to comment.