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

* test/ruby/test_module.rb (TestModule#test_alias): warning

message updated.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2009-07-22 18:21:32 +00:00
parent 9ce6eb65bb
commit 7a5d48f6ab
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Wed Jul 22 19:29:26 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
* test/ruby/test_module.rb (TestModule#test_alias): warning
message updated.
Thu Jul 23 00:39:25 2009 <nobu@ruby-lang.org> Thu Jul 23 00:39:25 2009 <nobu@ruby-lang.org>
* common.mk (class.o): depends on vm_core.h. * common.mk (class.o): depends on vm_core.h.

View file

@ -530,7 +530,7 @@ class TestModule < Test::Unit::TestCase
m.class_eval { alias foo bar } m.class_eval { alias foo bar }
end end
assert_in_out_err([], <<-INPUT, %w(2), /warning: discarding old foo$/) assert_in_out_err([], <<-INPUT, %w(2), /discarding old foo$/)
$VERBOSE = true $VERBOSE = true
c = Class.new c = Class.new
c.class_eval do c.class_eval do