aboutsummaryrefslogtreecommitdiff
path: root/src/pkg
diff options
context:
space:
mode:
authorAlex Brainman <alex.brainman@gmail.com>2010-04-08 21:16:05 -0700
committerRob Pike <r@golang.org>2010-04-08 21:16:05 -0700
commita17544f2832fe00e8d32d45215b37bc8ee6c10a5 (patch)
tree51adb12c10f2844a5f4f894243fcf533fa3a3b09 /src/pkg
parentc60d048594f882cabd684ba82260d0f88a764201 (diff)
downloadgo-a17544f2832fe00e8d32d45215b37bc8ee6c10a5.tar.xz
fix bug in os_test.go checkMode
R=golang-dev, r CC=golang-dev https://golang.org/cl/872043
Diffstat (limited to 'src/pkg')
-rw-r--r--src/pkg/os/os_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/os/os_test.go b/src/pkg/os/os_test.go
index 47661c44ad..d8208bfe41 100644
--- a/src/pkg/os/os_test.go
+++ b/src/pkg/os/os_test.go
@@ -363,7 +363,7 @@ func checkMode(t *testing.T, path string, mode uint32) {
t.Fatalf("Stat %q (looking for mode %#o): %s", path, mode, err)
}
if dir.Mode&0777 != mode {
- t.Errorf("Stat %q: mode %#o want %#o", path, dir.Mode, 0777)
+ t.Errorf("Stat %q: mode %#o want %#o", path, dir.Mode, mode)
}
}