Update test comments about Windows behavior

Co-authored-by: Tyler McGoffin <jtmcg@github.com>
This commit is contained in:
Kynan Ware 2024-11-18 16:21:14 -07:00 committed by GitHub
parent c5497b4d28
commit 2ec27ff9fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -742,8 +742,8 @@ func TestManager_Install_local(t *testing.T) {
extensionLinkFile := filepath.Join(extManagerDir, "extensions", fakeExtensionName)
if runtime.GOOS == "windows" {
// We don't create symlinks on Windows, so check if we made a file
// with the correct contents
// We don't create true symlinks on Windows, so check if we made a
// file with the correct contents to produce the symlink-like behavior
b, err := os.ReadFile(extensionLinkFile)
require.NoError(t, err)
assert.Equal(t, extensionLocalPath, string(b))