mirror of https://github.com/golang/go.git
os: fix 63703.md release notes
63703.md contains a paragraph that shouldn't be there, remove it. While here, fix a test error message related to the #63703 implementation. Updates #63703. Change-Id: I82a8b0b7dfa8f96530fb9a3a3aa971e03970f168 Reviewed-on: https://go-review.googlesource.com/c/go/+/569195 Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Bryan Mills <bcmills@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
parent
5dcc04aeac
commit
5e387b2fee
|
|
@ -1,10 +1,4 @@
|
|||
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`.
|
||||
|
|
|
|||
|
|
@ -172,7 +172,7 @@ func testDirLinks(t *testing.T, tests []dirLinkTest) {
|
|||
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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue