# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/more/statichash.rb # # Extracted Mon Jul 03 00:56:56 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