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:
parent
ff575c7eb7
commit
f3448ded9d
2 changed files with 6 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -85,7 +85,7 @@ class TestRequire < Test::Unit::TestCase
|
|||
begin
|
||||
require 'socket'
|
||||
p :ng
|
||||
rescue NameError
|
||||
rescue TypeError
|
||||
p :ok
|
||||
end
|
||||
INPUT
|
||||
|
|
Loading…
Reference in a new issue