ruby / debug

Debugging functionality for Ruby
BSD 2-Clause "Simplified" License
1.14k stars 127 forks source link

Fix flaky tests #1116

Closed nobu closed 2 months ago

nobu commented 2 months ago

Description

"1234" is too short and may be included in tempfile paths.

https://github.com/ruby/ruby/actions/runs/10659931295/job/29543206549?pr=11529#step:13:369

    Expected not to include `/1234/` in
    (
    [1, 5] in /var/folders/m4/5dz5h26x329cqq4fx333f8gm0000gn/T/debug-20240902-41234-6fxkst.rb
         1| a = 1
         2| b = 2
         3| 
         4| 1/0 rescue nil
    =>   5| binding.b
    =>#0    <main> at /var/folders/m4/5dz5h26x329cqq4fx333f8gm0000gn/T/debug-20240902-41234-6fxkst.rb:5
    )
     on LOCAL mode.
launchable-app[bot] commented 2 months ago

:white_check_mark: All Tests passed!

:heavy_multiplication_x:no tests failed :heavy_check_mark:669 tests passed(1 flake)