diff --git a/test/optparse/test_load.rb b/test/optparse/test_load.rb index de24f1c380..0ebe855682 100644 --- a/test/optparse/test_load.rb +++ b/test/optparse/test_load.rb @@ -27,6 +27,8 @@ class TestOptionParserLoad < Test::Unit::TestCase def assert_load(result) assert new_parser.load assert_equal(result, @result) + assert new_parser.load(into: into = {}) + assert_equal({test: result}, into) end def setup_options(env, dir, suffix = nil)