aboutsummaryrefslogtreecommitdiff
path: root/internal/configfile/config_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-08-21 14:04:04 +0200
committerJakob Unterwurzacher2021-08-21 14:04:04 +0200
commitb603169d2ccd47013d46bfcb33c1c105342cff95 (patch)
tree6cb326f8e4a86da49de15518c4efa1296fc6fed1 /internal/configfile/config_test.go
parent4b93525249e7dca3b76a4a2be924c4d57a4d81e1 (diff)
configfile: pass struct to Create 2/2
Drop Create and rename Create2 to Create.
Diffstat (limited to 'internal/configfile/config_test.go')
-rw-r--r--internal/configfile/config_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/configfile/config_test.go b/internal/configfile/config_test.go
index 659ddd9..c03be90 100644
--- a/internal/configfile/config_test.go
+++ b/internal/configfile/config_test.go
@@ -62,7 +62,7 @@ func TestLoadV2StrangeFeature(t *testing.T) {
}
func TestCreateConfDefault(t *testing.T) {
- err := Create2(&CreateArgs{
+ err := Create(&CreateArgs{
Filename: "config_test/tmp.conf",
Password: testPw,
LogN: 10,
@@ -87,7 +87,7 @@ func TestCreateConfDefault(t *testing.T) {
}
func TestCreateConfDevRandom(t *testing.T) {
- err := Create2(&CreateArgs{
+ err := Create(&CreateArgs{
Filename: "config_test/tmp.conf",
Password: testPw,
LogN: 10,
@@ -99,7 +99,7 @@ func TestCreateConfDevRandom(t *testing.T) {
}
func TestCreateConfPlaintextnames(t *testing.T) {
- err := Create2(&CreateArgs{
+ err := Create(&CreateArgs{
Filename: "config_test/tmp.conf",
Password: testPw,
PlaintextNames: true,
@@ -125,7 +125,7 @@ func TestCreateConfPlaintextnames(t *testing.T) {
// Reverse mode uses AESSIV
func TestCreateConfFileAESSIV(t *testing.T) {
- err := Create2(&CreateArgs{
+ err := Create(&CreateArgs{
Filename: "config_test/tmp.conf",
Password: testPw,
LogN: 10,