This project is archived and is in readonly mode.
[PATCH] object_and_class_ext_test two warnings removed
Reported by Santiago Pastorino | March 15th, 2010 @ 11:00 PM | in 2.3.6
The patch removes this warnings, even the warnings are different and perhaps we should apply two patch i've made one, because i think it doesn't worth that work for that minor thing. But if you want to be more atomic i can do two patches.
./test/core_ext/object_and_class_ext_test.rb:187: warning: ambiguous first argument; put parentheses or even spaces
DEPRECATION WARNING: metaclass is deprecated and will be removed
from Rails 2.3 (use singleton_class instead). (called from
test_metaclass at
./test/core_ext/object_and_class_ext_test.rb:174)
./test/core_ext/object_and_class_ext_test.rb:174:in
test_metaclass'
./test/../lib/active_support/testing/setup_and_teardown.rb:62:in
send'
./test/../lib/active_support/testing/setup_and_teardown.rb:62:in
run'
/usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in
run'
/usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in each'
/usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in
run'
/usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in run'
/usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in
each'
/usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in run'
/usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in
run_suite'
/usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in
start_mediator'
/usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in
start'
/usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in
run'
/usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in
run'
/usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in run'
/usr/lib/ruby/1.8/test/unit.rb:279
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5
Comments and changes to this ticket
-
Santiago Pastorino March 16th, 2010 @ 02:24 PM
- State changed from new to committed
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>