diff options
author | Matthias H <apoc@sixserv.org> | 2014-03-06 14:23:28 +0100 |
---|---|---|
committer | Matthias H <apoc@sixserv.org> | 2014-03-06 14:23:28 +0100 |
commit | 15be46dbc99df42db41c247967c9c504008de5cf (patch) | |
tree | bba5187c19ef19f49ca45bfe314298eb949540f5 | |
parent | 6211ffb416592782bc8103ab29d63189623b187c (diff) |
[registry] more tests
-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 []= |