Remove $HOME/bsdcapsicum.txt after test run

This commit is contained in:
0x1eef 2024-06-27 00:42:08 -03:00
parent bd5f3cca0a
commit 51f45c2f1f

View file

@ -28,6 +28,8 @@ class ReadMeTest < Minitest::Test
%r|\[subprocess\] Error:.+\(Errno::ENOTCAPABLE\)\n|,
"[parent] write successful\n"
].each { assert_match(Regexp === _1 ? _1 : /#{Regexp.escape(_1)}/, r.stdout) }
ensure
FileUtils.rm File.join(Dir.home, "bsdcapsicum.txt")
end
private