1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* bootstraptest/test_knownbug.rb: move solved tests.

* bootstraptest/test_eval.rb, test_literal.rb, test_syntax.rb,
  test_thread.rb: ditto.
* test/ruby/test_m17n.rb, test_proc.rb, test_sprintf.rb,
  test_string.rb, test/ruby/test_struct.rb: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2008-05-19 05:20:21 +00:00
parent 888c935930
commit 39fcd1cdf2
11 changed files with 140 additions and 122 deletions

View file

@ -206,4 +206,10 @@ class TestStruct < Test::Unit::TestCase
o = klass.new(1)
assert_equal(1, o.size)
end
def test_error
assert_raise(TypeError){
Struct.new(0)
}
end
end