Fix "go get" failure
Move the statusTxtContent to fix this confusing error when running `go get github.com/rfjakob/gocryptfs/...`: $ go get github.com/rfjakob/gocryptfs/... # github.com/rfjakob/gocryptfs/tests/example_filesystems tests/example_filesystems/example_test_helpers.go:22:16: undefined: statusTxtContent tests/example_filesystems/example_test_helpers.go:75:16: undefined: statusTxtContent
This commit is contained in:
parent
9178aa1534
commit
7dda2363e1
@ -18,8 +18,6 @@ import (
|
||||
"github.com/rfjakob/gocryptfs/tests/test_helpers"
|
||||
)
|
||||
|
||||
const statusTxtContent = "It works!\n"
|
||||
|
||||
var opensslOpt string
|
||||
|
||||
// tmpFsPath contains a private writeable copy of the example_filesystems
|
||||
|
@ -9,6 +9,8 @@ import (
|
||||
"github.com/rfjakob/gocryptfs/tests/test_helpers"
|
||||
)
|
||||
|
||||
const statusTxtContent = "It works!\n"
|
||||
|
||||
// checkExampleFS - verify that "dir" contains the expected test files
|
||||
func checkExampleFS(t *testing.T, dir string, rw bool) {
|
||||
// Read regular file
|
||||
|
Loading…
Reference in New Issue
Block a user