Remove $HOME/bsdcapsicum.txt after test run
This commit is contained in:
parent
bd5f3cca0a
commit
51f45c2f1f
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,8 @@ class ReadMeTest < Minitest::Test
|
||||||
%r|\[subprocess\] Error:.+\(Errno::ENOTCAPABLE\)\n|,
|
%r|\[subprocess\] Error:.+\(Errno::ENOTCAPABLE\)\n|,
|
||||||
"[parent] write successful\n"
|
"[parent] write successful\n"
|
||||||
].each { assert_match(Regexp === _1 ? _1 : /#{Regexp.escape(_1)}/, r.stdout) }
|
].each { assert_match(Regexp === _1 ? _1 : /#{Regexp.escape(_1)}/, r.stdout) }
|
||||||
|
ensure
|
||||||
|
FileUtils.rm File.join(Dir.home, "bsdcapsicum.txt")
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
Loading…
Reference in a new issue