Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

[PATCH] object_and_class_ext_test two warnings removed

#4184

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:insend' ./test/../lib/active_support/testing/setup_and_teardown.rb:62:in run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:inrun' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in each' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:inrun' /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in run' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:ineach' /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in run' /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:inrun_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:instart' /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in run' /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:inrun' /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

Reported by Santiago Pastorino · March 15th, 2010 @ 11:00 PM

State: committed
Milestone: 2.3.6
Assigned to: Jeremy Kemper Jeremy Kemper
Importance: Low

Activity

  1. Santiago Pastorino
    Santiago Pastorino
    • State changed from new to committed

    March 16th, 2010 @ 02:24 PM