Sha256: ebf798fddb994fe3e97602920a049df8f72d116613b15ece0ea49c916ed65d09

Contents?: true

Size: 473 Bytes

Versions: 1

Compression:

Stored size: 473 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/more/statichash.rb
#
# Extracted Mon Apr 24 11:08:35 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


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.3.2 test/lib/facets/more/test_statichash.rb