chore(lint): add linters dupword, paralleltest and gocheckcompilerdirectives

This commit is contained in:
Quentin McGaw
2023-06-08 07:21:12 +00:00
parent a9cd7be3f9
commit 37f0e5c73b
4 changed files with 10 additions and 7 deletions

View File

@@ -39,7 +39,7 @@ func Test_modifyConfig(t *testing.T) {
settings: settings.OpenVPN{
User: stringPtr("user"),
Ciphers: []string{"cipher"},
Auth: stringPtr("auth"),
Auth: stringPtr("sha512"),
MSSFix: uint16Ptr(1000),
ProcessUser: "procuser",
Interface: "tun3",
@@ -66,7 +66,7 @@ func Test_modifyConfig(t *testing.T) {
"verb 0",
"data-ciphers-fallback cipher",
"data-ciphers cipher",
"auth auth",
"auth sha512",
"mssfix 1000",
"pull-filter ignore \"route-ipv6\"",
"pull-filter ignore \"ifconfig-ipv6\"",