mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/openssl] test/openssl/test_config: add missing test case for Config.parse_config
https://github.com/ruby/openssl/commit/9ce2ccf36d
This commit is contained in:
parent
67f5847c61
commit
ffc01afc47
Notes:
git
2021-03-16 20:38:57 +09:00
1 changed files with 6 additions and 0 deletions
|
@ -177,6 +177,12 @@ __EOC__
|
|||
}
|
||||
end
|
||||
|
||||
def test_s_parse_config
|
||||
ret = OpenSSL::Config.parse_config(@it.to_s)
|
||||
assert_equal(@it.sections.sort, ret.keys.sort)
|
||||
assert_equal(@it["default"], ret["default"])
|
||||
end
|
||||
|
||||
def test_initialize
|
||||
c = OpenSSL::Config.new
|
||||
assert_equal("", c.to_s)
|
||||
|
|
Loading…
Add table
Reference in a new issue