Commit a17544f2 authored by Alex Brainman's avatar Alex Brainman Committed by Rob Pike

fix bug in os_test.go checkMode

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/872043
parent c60d0485
......@@ -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)
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment