diff options
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 f3f0812871..2d496e635c 100644 --- a/test/test_getoptlong.rb +++ b/test/test_getoptlong.rb @@ -5,7 +5,7 @@ class TestGetoptLong < Test::Unit::TestCase def verify(test_argv, expected_remaining_argv, expected_options) # Save ARGV and replace it with a test ARGV. - argv_saved = ARGV + argv_saved = ARGV.dup ARGV.replace(test_argv) # Define options. opts = GetoptLong.new( |