aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-08-19 08:00:44 +0200
committerJakob Unterwurzacher2021-08-19 08:34:49 +0200
commit8ee595dd484919b98bd9908900fbece2585a334d (patch)
tree9f400dd8bd4bd4aea885779434d5c8d38ccc4c2c /tests
parentc86981342b46875525f2b214687553e23e58eb1a (diff)
Fix issues found by "go vet"
Issues were: # github.com/rfjakob/gocryptfs/contrib/findholes/holes contrib/findholes/holes/holes.go:136:2: unreachable code # github.com/rfjakob/gocryptfs/tests/root_test_test tests/root_test/root_test.go:139:2: unreachable code Also make sure we actually run "go vet" against the whole codebase.
Diffstat (limited to 'tests')
-rw-r--r--tests/root_test/root_test.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/root_test/root_test.go b/tests/root_test/root_test.go
index 5a98feb..d9d5dfc 100644
--- a/tests/root_test/root_test.go
+++ b/tests/root_test/root_test.go
@@ -136,7 +136,6 @@ func writeTillFull(t *testing.T, path string) (int, syscall.Errno) {
}
sz += n
}
- return sz, 0
}
// TestDiskFull needs root permissions because it creates a loop disk