1
0
mirror of https://github.com/golang/go synced 2024-10-03 11:11:22 -06:00
go/src/path
Zev Goldstein 8f91865e1b path/filepath: fix Abs on Windows
The filepath.Abs function in windows did not call Clean as the
documentation claimed.  This change not only fixes that behavior but
also adjusts TestAbs to verify Abs calls Clean as documented.

Fixes #17210

Change-Id: I20c5f5026042fd7bd9d929ff5b17c8b2653f8afe
Reviewed-on: https://go-review.googlesource.com/32292
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-10-29 16:44:45 +00:00
..
filepath path/filepath: fix Abs on Windows 2016-10-29 16:44:45 +00:00
example_test.go path, path/filepath: add Join example with joined rooted path 2016-04-03 16:55:51 +00:00
match_test.go
match.go all: replace strings.Index with strings.Contains where possible 2016-02-19 01:06:05 +00:00
path_test.go path: fix up bizarre test 2016-03-16 03:59:03 +00:00
path.go Rewrite leftover references to plan9.bell-labs.com to 9p.io. 2016-03-06 07:07:01 +00:00