summaryrefslogtreecommitdiff
path: root/src/pkg/io/utils_test.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-10-06 19:41:51 -0700
committerRuss Cox <rsc@golang.org>2009-10-06 19:41:51 -0700
commit6c2652e6fd54ce34ca3be95540c54cebb52bfece (patch)
tree2366cc62ab4dee2e5698d6d6e5b299d6819a7edd /src/pkg/io/utils_test.go
parentdb62e99a735a036afda2098f1a721fe8dbf6ce76 (diff)
downloadgolang-6c2652e6fd54ce34ca3be95540c54cebb52bfece.tar.gz
apply gofmt to go, gob, hash, http, image, io, json, log
R=gri DELTA=1359 (138 added, 32 deleted, 1189 changed) OCL=35408 CL=35420
Diffstat (limited to 'src/pkg/io/utils_test.go')
-rw-r--r--src/pkg/io/utils_test.go13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/pkg/io/utils_test.go b/src/pkg/io/utils_test.go
index a16a40b57..9153fb199 100644
--- a/src/pkg/io/utils_test.go
+++ b/src/pkg/io/utils_test.go
@@ -5,10 +5,10 @@
package io_test
import (
- . "io";
- "os";
- "strings";
- "testing";
+ . "io";
+ "os";
+ "strings";
+ "testing";
)
func checkSize(t *testing.T, path string, size uint64) {
@@ -39,8 +39,7 @@ func TestReadFile(t *testing.T) {
func TestWriteFile(t *testing.T) {
filename := "_obj/rumpelstilzchen";
- data :=
- "Programming today is a race between software engineers striving to "
+ data := "Programming today is a race between software engineers striving to "
"build bigger and better idiot-proof programs, and the Universe trying "
"to produce bigger and better idiots. So far, the Universe is winning.";
@@ -58,5 +57,5 @@ func TestWriteFile(t *testing.T) {
}
// cleanup
- os.Remove(filename); // ignore error
+ os.Remove(filename); // ignore error
}