diff options
author | Jakob Unterwurzacher | 2016-10-08 19:22:59 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-10-08 19:22:59 +0200 |
commit | 8c89e2da0ca3a2c901bfe067904b623a4da6f6a7 (patch) | |
tree | 145686ddef0cfa9c00a82ef4961fc159fd449af5 /tests/matrix/matrix_test.go | |
parent | 29c8ca85d836f560837b0be51114b7a2931cf5bd (diff) |
tests: invert ResetTmpDir argument
As reverse also does not want a diriv file, the "plaintextNames"
argument became a misnomer.
Diffstat (limited to 'tests/matrix/matrix_test.go')
-rw-r--r-- | tests/matrix/matrix_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/matrix/matrix_test.go b/tests/matrix/matrix_test.go index 77d9dc7..7b636ad 100644 --- a/tests/matrix/matrix_test.go +++ b/tests/matrix/matrix_test.go @@ -65,8 +65,7 @@ func TestMain(m *testing.M) { j, _ := json.Marshal(testcase) fmt.Printf("matrix: testcase = %s\n", string(j)) } - testcase.Plaintextnames = testcase.Plaintextnames - test_helpers.ResetTmpDir(testcase.Plaintextnames) + test_helpers.ResetTmpDir(!testcase.Plaintextnames) opts := []string{"-zerokey"} opts = append(opts, fmt.Sprintf("-openssl=%v", testcase.Openssl)) opts = append(opts, fmt.Sprintf("-plaintextnames=%v", testcase.Plaintextnames)) |