Maint: split custom config files in openvpn/custom
This commit is contained in:
14
internal/openvpn/custom/helpers_test.go
Normal file
14
internal/openvpn/custom/helpers_test.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package custom
|
||||
|
||||
import (
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
func removeFile(t *testing.T, filename string) {
|
||||
t.Helper()
|
||||
err := os.RemoveAll(filename)
|
||||
require.NoError(t, err)
|
||||
}
|
||||
Reference in New Issue
Block a user