mirror of
https://github.com/vbatts/tar-split.git
synced 2024-11-16 13:28:37 +00:00
Merge pull request #72 from vbatts/test_cleanup
test: cleanup testdir after testing
This commit is contained in:
commit
bc52946f8e
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ func TestCheckKeywords(t *testing.T) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
//defer os.RemoveAll(dir) // clean up
|
defer os.RemoveAll(dir) // clean up
|
||||||
|
|
||||||
tmpfn := filepath.Join(dir, "tmpfile")
|
tmpfn := filepath.Join(dir, "tmpfile")
|
||||||
if err := ioutil.WriteFile(tmpfn, content, 0666); err != nil {
|
if err := ioutil.WriteFile(tmpfn, content, 0666); err != nil {
|
||||||
|
|
Loading…
Reference in a new issue