Sha256: e044636da41b289d37db085cfdf869afe13cd574243663fed59b6bf1a266aae6

Contents?: true

Size: 489 Bytes

Versions: 1

Compression:

Stored size: 489 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/more/statichash.rb
#
# Extracted Fri Feb 16 02:00:36 EST 2007
# Project.rb Test Extraction
#

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.8.49 test/lib/facets/more/test_statichash.rb