Skip to content

Commit aeb1b4e

Browse files
committed
WIP
1 parent baf8184 commit aeb1b4e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/cli_test.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def test_compile
1515

1616
assert(File.exist?(binary_path))
1717
ensure
18-
FileUtils.rm(binary_path)
18+
FileUtils.rm_rf(binary_path)
1919
end
2020

2121
def test_clean
@@ -97,9 +97,9 @@ def test_release
9797

9898
assert_equal(["gem push tmp/bar.gem", "gem push tmp/foo.gem"], gem_pushed.sort)
9999
ensure
100-
FileUtils.rm("tmp/foo.gem")
101-
FileUtils.rm("tmp/bar.gem")
102-
FileUtils.rm("tmp/some_file")
100+
FileUtils.rm_rf("tmp/foo.gem")
101+
FileUtils.rm_rf("tmp/bar.gem")
102+
FileUtils.rm_rf("tmp/some_file")
103103
end
104104

105105
def test_print_ruby_cc_version

0 commit comments

Comments
 (0)