From 15be46dbc99df42db41c247967c9c504008de5cf Mon Sep 17 00:00:00 2001 From: Matthias H Date: Thu, 6 Mar 2014 14:23:28 +0100 Subject: [registry] more tests --- test/test_registry.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test') 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 []= -- cgit v1.2.3