// On Windows, "/foo" is reported as a relative path // (it is relative to the current drive letter), // so we need add a drive letter to test absolute path cases. func drive() string { … } var absFileTests … func TestAbsFile(t *testing.T) { … }
// On Windows, "/foo" is reported as a relative path // (it is relative to the current drive letter), // so we need add a drive letter to test absolute path cases. func drive() string { … } var absFileTests … func TestAbsFile(t *testing.T) { … }