diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/openssl/test_config.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/openssl/test_config.rb b/test/openssl/test_config.rb index 64aadd86b4..46f287c1b7 100644 --- a/test/openssl/test_config.rb +++ b/test/openssl/test_config.rb @@ -271,4 +271,16 @@ __EOC__ c['foo'] = [['key', 'wrong']] end end + + def test_dup + assert(!@it.sections.empty?) + c = @it.dup + assert_equal(@it.sections.sort, c.sections.sort) + end + + def test_clone + assert(!@it.sections.empty?) + c = @it.clone + assert_equal(@it.sections.sort, c.sections.sort) + end end |
