mirror of
https://github.com/golang/go
synced 2024-11-05 18:36:08 +00:00
archive/tar: fix windows test failure
R=golang-dev, r CC=golang-dev https://golang.org/cl/6249052
This commit is contained in:
parent
c6ce44822c
commit
68f42ea27e
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ func TestFileInfoHeader(t *testing.T) {
|
|||
if g, e := h.Name, "small.txt"; g != e {
|
||||
t.Errorf("Name = %q; want %q", g, e)
|
||||
}
|
||||
if g, e := h.Mode, int64(0644|c_ISREG); g != e {
|
||||
if g, e := h.Mode, int64(fi.Mode().Perm())|c_ISREG; g != e {
|
||||
t.Errorf("Mode = %#o; want %#o", g, e)
|
||||
}
|
||||
if g, e := h.Size, int64(5); g != e {
|
||||
|
|
Loading…
Reference in a new issue