Commit 7e3cd3eb authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Run gofmt again.

parent 2c39d5b4
......@@ -431,7 +431,7 @@ func TestWriteAccess(t *testing.T) {
err := ioutil.WriteFile(fn, []byte("foo"), 0444)
CheckSuccess(err)
errno := syscall.Access(wd + "/mount/file", fuse.W_OK)
errno := syscall.Access(wd+"/mount/file", fuse.W_OK)
if errno != 0 {
err = os.Errno(errno)
CheckSuccess(err)
......
package zipfs
import (
......@@ -11,12 +10,12 @@ func setupZipfs() (mountPoint string, cleanup func()) {
wd, err := os.Getwd()
CheckSuccess(err)
zfs, err := NewArchiveFileSystem(wd + "/test.zip")
CheckSuccess(err)
CheckSuccess(err)
mountPoint = fuse.MakeTempDir()
state, _, err := fuse.MountFileSystem(mountPoint, zfs, nil)
state.Debug = true
go state.Loop(false)
......@@ -74,8 +73,7 @@ func TestLinkCount(t *testing.T) {
fi, err := os.Stat(mp + "/file.txt")
CheckSuccess(err)
if fi.Nlink != 1 {
if fi.Nlink != 1 {
t.Fatal("wrong link count", fi.Nlink)
}
}
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