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 @@ def test_undeprecated
|
||||
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
Block a user