Modify backtrace test to take implementations with slightly different backtrace output into consideration.

This commit is contained in:
Yehuda Katz 2009-12-13 10:40:00 -05:00
parent 0f7f90d25b
commit ffb351713e
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ class DeprecationTest < ActiveSupport::TestCase
end
def test_deprecate_class_method
assert_deprecated(/none is deprecated.*test_deprecate_class_method at/) do
assert_deprecated(/none is deprecated.*test_deprecate_class_method/) do
assert_equal 1, @dtc.none
end