summaryrefslogtreecommitdiff
path: root/src/pkg/os/path_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/os/path_test.go')
-rw-r--r--src/pkg/os/path_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pkg/os/path_test.go b/src/pkg/os/path_test.go
index cfdd64fc0..617d1e7f4 100644
--- a/src/pkg/os/path_test.go
+++ b/src/pkg/os/path_test.go
@@ -25,7 +25,7 @@ func TestMkdirAll(t *testing.T) {
}
// Make file.
- fpath := path + "/file";
+ fpath := path+"/file";
_, err = Open(fpath, O_WRONLY|O_CREAT, 0666);
if err != nil {
t.Fatalf("create %q: %s", fpath, err);
@@ -64,7 +64,7 @@ func TestMkdirAll(t *testing.T) {
func TestRemoveAll(t *testing.T) {
// Work directory.
path := "_obj/_TestRemoveAll_";
- fpath := path + "/file";
+ fpath := path+"/file";
dpath := path+"/dir";
// Make directory with 1 file and remove.
@@ -92,7 +92,7 @@ func TestRemoveAll(t *testing.T) {
t.Fatalf("create %q: %s", fpath, err);
}
fd.Close();
- fd, err = Open(dpath + "/file", O_WRONLY|O_CREAT, 0666);
+ fd, err = Open(dpath+"/file", O_WRONLY|O_CREAT, 0666);
if err != nil {
t.Fatalf("create %q: %s", fpath, err);
}
@@ -109,7 +109,7 @@ func TestRemoveAll(t *testing.T) {
t.Fatalf("MkdirAll %q: %s", dpath, err);
}
- for _, s := range []string{fpath, dpath + "/file1", path+"/zzz"} {
+ for _, s := range []string{fpath, dpath+"/file1", path+"/zzz"} {
fd, err = Open(s, O_WRONLY|O_CREAT, 0666);
if err != nil {
t.Fatalf("create %q: %s", s, err);