Sha256: b4cb52fc3a8938c8cfa3c8db7f55150b7f569d89f50473b243bfd528d27e5a90
Contents?: true
Size: 573 Bytes
Versions: 1
Compression:
Stored size: 573 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/module/abstract.rb # # Extracted Fri Feb 16 02:00:36 EST 2007 # Project.rb Test Extraction # require 'facets/core/module/abstract.rb' require 'test/unit' class TCModule < Test::Unit::TestCase class Aq abstract :q end def test_001 ac = Aq.new assert_raises( TypeError ) { ac.q } end def test_002 ac = Class.new { abstract :q }.new assert_raises( TypeError ) { ac.q } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.8.49 | test/lib/facets/core/module/test_abstract.rb |