1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/getoptlong] fixup 5f57f47572502173e2e8880f83ef7b3e2659f974

https://github.com/ruby/getoptlong/commit/5683297853
This commit is contained in:
Hiroshi SHIBATA 2021-11-11 13:55:30 +09:00
parent 6ecd30b402
commit 155bc42727
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -20,7 +20,7 @@ class TestGetoptLong < Test::Unit::TestCase
actual_options << "#{opt}: #{arg}"
end
# Save remaining test ARGV and restore original ARGV.
actual_remaining_argv = ARGV
actual_remaining_argv = ARGV.dup
ARGV.replace(argv_saved)
# Assert.
assert_equal(expected_remaining_argv, actual_remaining_argv, 'ARGV')