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:
parent
888c935930
commit
39fcd1cdf2
11 changed files with 140 additions and 122 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue