1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

test: fixed docker link tests

This commit is contained in:
Carlos Alexandro Becker 2017-12-24 10:14:55 -02:00
parent bceb42d50b
commit c7b25726df
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -271,7 +271,7 @@ func TestLinkDirectory(t *testing.T) {
t.Log("Cannot setup test file")
t.Fail()
}
err = directoryLink(srcDir, dstDir, nil)
err = link(srcDir, dstDir)
if err != nil {
t.Log("Failed to link: ", err)
t.Fail()
@ -304,7 +304,7 @@ func TestLinkTwoLevelDirectory(t *testing.T) {
t.Log("Cannot setup test file")
t.Fail()
}
err = directoryLink(srcDir, dstDir, nil)
err = link(srcDir, dstDir)
if err != nil {
t.Log("Failed to link: ", err)
t.Fail()