1
0
mirror of https://github.com/gilbertchen/duplicacy synced 2025-12-18 01:03:25 +00:00

Fixed test errors -- parse test flags in one place

This commit is contained in:
Gilbert Chen
2019-11-25 15:44:03 -05:00
parent 694494ea54
commit 0abb4099f6
2 changed files with 2 additions and 9 deletions

View File

@@ -5,7 +5,6 @@
package duplicacy
import (
"flag"
"bytes"
crypto_rand "crypto/rand"
"crypto/rsa"
@@ -13,14 +12,6 @@ import (
"testing"
)
var testRSAEncryption bool
func init() {
flag.BoolVar(&testRSAEncryption, "rsa", false, "enable RSA encryption")
flag.Parse()
}
func TestChunk(t *testing.T) {
key := []byte("duplicacydefault")