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:
parent
6ecd30b402
commit
155bc42727
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Reference in a new issue