Restore to use rm_rf for failing example

https://github.com/ruby/ruby/actions/runs/13804651931/job/38616664529?pr=12911
This commit is contained in:
Hiroshi SHIBATA 2025-03-12 17:00:10 +09:00
parent 1d07deb422
commit 1a222816fb

View File

@ -275,7 +275,7 @@ RSpec.describe "global gem caching" do
R
expect(out).to eq "VERY_SIMPLE_BINARY_IN_C\nVERY_SIMPLE_GIT_BINARY_IN_C"
FileUtils.rm_r Dir[home(".bundle", "cache", "extensions", "**", "*binary_c*")]
FileUtils.rm_rf Dir[home(".bundle", "cache", "extensions", "**", "*binary_c*")]
gem_binary_cache.join("very_simple_binary_c.rb").open("w") {|f| f << "puts File.basename(__FILE__)" }
git_binary_cache.join("very_simple_git_binary_c.rb").open("w") {|f| f << "puts File.basename(__FILE__)" }