summaryrefslogtreecommitdiff
path: root/src/lib/os/os_test.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-02-13 14:48:32 -0800
committerRuss Cox <rsc@golang.org>2009-02-13 14:48:32 -0800
commit526837026995aa88a05eb73f83f8573d5c024882 (patch)
treea3b6c6ab9f68981976738f0efc7988353d5a0d82 /src/lib/os/os_test.go
parentc2feca8a8dd68958c476a71b1e07b5cf43421a98 (diff)
downloadgolang-526837026995aa88a05eb73f83f8573d5c024882.tar.gz
convert composite literals from { } to ( ).
only non-trivial changes are in convlit1.go golden.out R=gri OCL=25019 CL=25024
Diffstat (limited to 'src/lib/os/os_test.go')
-rw-r--r--src/lib/os/os_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/os/os_test.go b/src/lib/os/os_test.go
index 5c37a6b13..91b401808 100644
--- a/src/lib/os/os_test.go
+++ b/src/lib/os/os_test.go
@@ -10,7 +10,7 @@ import (
"testing";
)
-var dot = []string{
+var dot = []string(
"dir_amd64_darwin.go",
"dir_amd64_linux.go",
"os_env.go",
@@ -21,13 +21,13 @@ var dot = []string{
"os_types.go",
"stat_amd64_darwin.go",
"stat_amd64_linux.go"
-}
+)
-var etc = []string{
+var etc = []string(
"group",
"hosts",
"passwd",
-}
+)
func size(file string, t *testing.T) uint64 {
fd, err := Open(file, O_RDONLY, 0);