We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent baf8184 commit aeb1b4eCopy full SHA for aeb1b4e
test/cli_test.rb
@@ -15,7 +15,7 @@ def test_compile
15
16
assert(File.exist?(binary_path))
17
ensure
18
- FileUtils.rm(binary_path)
+ FileUtils.rm_rf(binary_path)
19
end
20
21
def test_clean
@@ -97,9 +97,9 @@ def test_release
97
98
assert_equal(["gem push tmp/bar.gem", "gem push tmp/foo.gem"], gem_pushed.sort)
99
100
- FileUtils.rm("tmp/foo.gem")
101
- FileUtils.rm("tmp/bar.gem")
102
- FileUtils.rm("tmp/some_file")
+ FileUtils.rm_rf("tmp/foo.gem")
+ FileUtils.rm_rf("tmp/bar.gem")
+ FileUtils.rm_rf("tmp/some_file")
103
104
105
def test_print_ruby_cc_version
0 commit comments