diff options
author | Jakob Unterwurzacher | 2015-11-27 22:20:01 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-11-27 22:20:01 +0100 |
commit | a04a92cdab11df43f072db685b8ade6c973f8995 (patch) | |
tree | 457b018abf5fa6be480b58ea95375a11fbc449af /integration_tests | |
parent | 6acd772cf908908e3b0d817a78e64f98faaa8b7b (diff) |
Run go fmt
Diffstat (limited to 'integration_tests')
-rw-r--r-- | integration_tests/example_filesystems_test.go | 4 | ||||
-rw-r--r-- | integration_tests/helpers.go | 2 | ||||
-rw-r--r-- | integration_tests/main_test.go | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/integration_tests/example_filesystems_test.go b/integration_tests/example_filesystems_test.go index be9ef67..644f8e7 100644 --- a/integration_tests/example_filesystems_test.go +++ b/integration_tests/example_filesystems_test.go @@ -33,11 +33,11 @@ func TestExampleFsNormal(t *testing.T) { t.Fatal(err) } mount(cDir, pDir, "-extpass", "echo test") - checkStatusTxt(t, pDir + "status.txt") + checkStatusTxt(t, pDir+"status.txt") unmount(pDir) mount(cDir, pDir, "-masterkey", "74676e34-0b47c145-00dac61a-17a92316-"+ "bb57044c-e205b71f-65f4fdca-7cabd4b3") - checkStatusTxt(t, pDir + "status.txt") + checkStatusTxt(t, pDir+"status.txt") unmount(pDir) err = os.Remove(pDir) if err != nil { diff --git a/integration_tests/helpers.go b/integration_tests/helpers.go index 3d6811f..6fc65cf 100644 --- a/integration_tests/helpers.go +++ b/integration_tests/helpers.go @@ -39,7 +39,7 @@ func resetTmpDir() { os.Exit(1) } dirIV := make([]byte, 16) - err = ioutil.WriteFile(defaultCipherDir + "gocryptfs.diriv", dirIV, 0444) + err = ioutil.WriteFile(defaultCipherDir+"gocryptfs.diriv", dirIV, 0444) if err != nil { fmt.Println(err) os.Exit(1) diff --git a/integration_tests/main_test.go b/integration_tests/main_test.go index e46e2e4..f065c4a 100644 --- a/integration_tests/main_test.go +++ b/integration_tests/main_test.go @@ -3,7 +3,6 @@ package integration_tests // File reading, writing, modification, truncate import ( - "syscall" "bytes" "crypto/md5" "encoding/hex" @@ -13,6 +12,7 @@ import ( "os" "runtime" "sync" + "syscall" "testing" ) |