diff options
| author | Russ Cox <rsc@golang.org> | 2020-07-13 22:24:52 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2020-10-13 01:12:09 +0000 |
| commit | ec095f1df0ff1b2937205e17b3c011f31d3737ca (patch) | |
| tree | bb8f1812e9599a0146332906ca0e964dabc4c29d /src/path/path_test.go | |
| parent | 84f3b33f10d8f12818975cb188da46145ac2036a (diff) | |
| download | go-ec095f1df0ff1b2937205e17b3c011f31d3737ca.tar.xz | |
path: avoid import of strings
Pushing path lower in the hierarchy, to allow path < io/fs < os
in the io/fs prototype. But this change is worth doing even if io/fs
is not accepted.
Change-Id: Id51b3a638167ca005dadfb9b730287e518ec12a8
Reviewed-on: https://go-review.googlesource.com/c/go/+/243904
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/path/path_test.go')
| -rw-r--r-- | src/path/path_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/path/path_test.go b/src/path/path_test.go index 2a3635300e..a57286f6b8 100644 --- a/src/path/path_test.go +++ b/src/path/path_test.go @@ -2,9 +2,10 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package path +package path_test import ( + . "path" "runtime" "testing" ) |
