ruby-changes:69697
From: Hiroshi <ko1@a...>
Date: Thu, 11 Nov 2021 14:00:58 +0900 (JST)
Subject: [ruby-changes:69697] 155bc42727 (master): [ruby/getoptlong] fixup 5f57f47572502173e2e8880f83ef7b3e2659f974
https://git.ruby-lang.org/ruby.git/commit/?id=155bc42727 From 155bc42727a1328b07502fcd1a7b789e2677a09d Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Thu, 11 Nov 2021 13:55:30 +0900 Subject: [ruby/getoptlong] fixup 5f57f47572502173e2e8880f83ef7b3e2659f974 https://github.com/ruby/getoptlong/commit/5683297853 --- test/test_getoptlong.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_getoptlong.rb b/test/test_getoptlong.rb index 2d496e635c4..0cd370b6c75 100644 --- a/test/test_getoptlong.rb +++ b/test/test_getoptlong.rb @@ -20,7 +20,7 @@ class TestGetoptLong < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/test_getoptlong.rb#L20 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') -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/