13 lines
301 B
Go
13 lines
301 B
Go
package testsupport
|
|
|
|
import (
|
|
"errors"
|
|
"testing"
|
|
)
|
|
|
|
func TestSymlinkPrivilegeUnavailableDoesNotMatchUnrelatedErrors(t *testing.T) {
|
|
if isSymlinkPrivilegeUnavailable(errors.New("unrelated symlink failure")) {
|
|
t.Fatal("unrelated symlink failure was classified as a missing Windows privilege")
|
|
}
|
|
}
|