Revert pending EVENT_RETURN tests

* "Allow ambiguosity of `return` line"
  65b991bc8571b7b718fc22bd33a43c4d269bf52d
* "Move to test/.excludes-prism"
  3b4ff810d2fefdf0194bd774bc04f6f17e2ccae7
* "Pending `EVENT_RETURN` settracefunc tests with Prism"
  a7f33c99c69e3cc62b7a24ce35f51f76cc5bfaa2
This commit is contained in:
Nobuyoshi Nakada 2024-07-13 13:06:46 +09:00 committed by Kevin Newton
parent 644424941a
commit 278bbd7b45
Notes: git 2024-07-17 18:06:28 +00:00
2 changed files with 1 additions and 3 deletions

View File

@ -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

View File

@ -1,2 +0,0 @@
exclude(:test_return, "[Bug #20457]")
exclude(:test_return2, "[Bug #20457]")