-On Windows, the [`os.Readlink`](/os#Readlink) function no longer tries
-to resolve mount points to a canonical path.
-This behavior is controlled by the `winsymlink` setting.
-For Go 1.23, it defaults to `winsymlink=1`.
-Previous versions default to `winsymlink=0`.
-
-On Windows, [`os.Readlink`](/pkg/path/filepath#EvalSymlinks) no longer tries
+On Windows, [`os.Readlink`](/os#Readlink) no longer tries
to normalize volumes to drive letters, which was not always even possible.
This behavior is controlled by the `winreadlinkvolume` setting.
For Go 1.23, it defaults to `winreadlinkvolume=1`.
wantType = fs.ModeSymlink
}
if tp := fi2.Mode().Type(); tp != wantType {
- t.Errorf("Lstat(%q) is type %v; want %v", link, tp, fs.ModeDir)
+ t.Errorf("Lstat(%q) is type %v; want %v", link, tp, wantType)
}
}
}