aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/path
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2012-03-08 10:48:51 -0800
committerRobert Griesemer <gri@golang.org>2012-03-08 10:48:51 -0800
commit56cae1c2307be5895c628b66f7b2418d56278f98 (patch)
tree20df7c7ac49be62782394cf9fa10c8158ff61210 /src/pkg/path
parent9fb68a9a0a4229bc15688b448d0a5e8abff4b2dd (diff)
downloadgo-56cae1c2307be5895c628b66f7b2418d56278f98.tar.xz
all: gofmt -w -s src misc
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5781058
Diffstat (limited to 'src/pkg/path')
-rw-r--r--src/pkg/path/filepath/path_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/path/filepath/path_test.go b/src/pkg/path/filepath/path_test.go
index 71969cdf95..87cb5e5530 100644
--- a/src/pkg/path/filepath/path_test.go
+++ b/src/pkg/path/filepath/path_test.go
@@ -440,7 +440,7 @@ func TestBase(t *testing.T) {
tests := basetests
if runtime.GOOS == "windows" {
// make unix tests work on windows
- for i, _ := range tests {
+ for i := range tests {
tests[i].result = filepath.Clean(tests[i].result)
}
// add windows specific tests
@@ -483,7 +483,7 @@ func TestDir(t *testing.T) {
tests := dirtests
if runtime.GOOS == "windows" {
// make unix tests work on windows
- for i, _ := range tests {
+ for i := range tests {
tests[i].result = filepath.Clean(tests[i].result)
}
// add windows specific tests