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

* test/ruby/test_require.rb (test_define_class): expect TypeError

instead of NameError.  [ruby-core:27504]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
mame 2010-01-21 16:06:39 +00:00
parent ff575c7eb7
commit f3448ded9d
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Fri Jan 22 01:03:28 2010 Yusuke Endoh <mame@tsg.ne.jp>
* test/ruby/test_require.rb (test_define_class): expect TypeError
instead of NameError. [ruby-core:27504]
Thu Jan 21 15:09:35 2010 URABE Shyouhei <shyouhei@ruby-lang.org>
* configure.in: some tidy.

View file

@ -85,7 +85,7 @@ class TestRequire < Test::Unit::TestCase
begin
require 'socket'
p :ng
rescue NameError
rescue TypeError
p :ok
end
INPUT