diff options
Diffstat (limited to 'test/test_registry.rb')
-rw-r--r-- | test/test_registry.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_registry.rb b/test/test_registry.rb index a7d45457..85383269 100644 --- a/test/test_registry.rb +++ b/test/test_registry.rb @@ -9,6 +9,9 @@ require 'tmpdir' module RegistryHashInterfaceTests def test_default + @reg.set_default(42) + assert_equal(42, @reg['not-here']) + assert_equal(42, @reg.default) end def test_flush @@ -35,9 +38,11 @@ module RegistryHashInterfaceTests end def test_optimize + @reg.optimize end def test_close + @reg.close end def test_getset # [] and []= |