зеркало из https://github.com/github/ruby.git
Revert pending `EVENT_RETURN` tests
* "Allow ambiguosity of `return` line"65b991bc85
* "Move to test/.excludes-prism"3b4ff810d2
* "Pending `EVENT_RETURN` settracefunc tests with Prism"a7f33c99c6
This commit is contained in:
Родитель
644424941a
Коммит
278bbd7b45
|
@ -67,7 +67,7 @@ describe 'TracePoint#inspect' do
|
|||
end
|
||||
trace_point_spec_test_return
|
||||
end
|
||||
ruby_version_is("3.4") { line = "(?:#{line}|#{line-1})" }
|
||||
ruby_version_is("3.4") { line -= 1 }
|
||||
|
||||
inspect.should =~ /\A#<TracePoint:return [`']trace_point_spec_test_return'#{@path_prefix}#{__FILE__}:#{line}>\z/
|
||||
end
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
exclude(:test_return, "[Bug #20457]")
|
||||
exclude(:test_return2, "[Bug #20457]")
|
Загрузка…
Ссылка в новой задаче