mirror of https://github.com/rails/rails
Modify backtrace test to take implementations with slightly different backtrace output into consideration.
This commit is contained in:
parent
0f7f90d25b
commit
ffb351713e
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue