diff options
author | Hiroshi SHIBATA <[email protected]> | 2021-11-11 13:55:30 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2021-11-11 14:00:32 +0900 |
commit | 155bc42727a1328b07502fcd1a7b789e2677a09d (patch) | |
tree | 934e25b77cd028d6cd65df00e8870cd0e352b990 /test/test_getoptlong.rb | |
parent | 6ecd30b402d02a51aef1ec48072ff4d103b7ef8f (diff) |
[ruby/getoptlong] fixup 5f57f47572502173e2e8880f83ef7b3e2659f974
https://github.com/ruby/getoptlong/commit/5683297853
Diffstat (limited to 'test/test_getoptlong.rb')
-rw-r--r-- | test/test_getoptlong.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_getoptlong.rb b/test/test_getoptlong.rb index 2d496e635c..0cd370b6c7 100644 --- a/test/test_getoptlong.rb +++ b/test/test_getoptlong.rb @@ -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') |