# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/more/statichash.rb # # Extracted Tue Apr 18 08:56:38 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/more/statichash.rb' require 'test/unit' class TC_StaticHash < Test::Unit::TestCase def setup @sh1 = StaticHash.new end def test_assign @sh1["x"] = 1 assert_raises( ArgumentError ){ @sh1["x"] = 2 } end end