mirror of
https://github.com/vbatts/dedupe-linker.git
synced 2024-12-28 17:46:31 +00:00
base: env variable, not hard code
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
6a4df87d10
commit
ebef1270a3
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ func TestNotSameDev(t *testing.T) {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
defer file1.Close()
|
defer file1.Close()
|
||||||
file2, err := ioutil.TempFile("/home/vbatts", "test")
|
file2, err := ioutil.TempFile(os.Getenv("HOME"), "test")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue