diff --git a/internal/provider/custom_test.go b/internal/provider/custom_test.go new file mode 100644 index 00000000..8c0bf5ef --- /dev/null +++ b/internal/provider/custom_test.go @@ -0,0 +1,15 @@ +package provider_test + +import ( + "testing" + + "github.com/stretchr/testify/require" + + "github.com/favonia/cloudflare-ddns/internal/provider" +) + +func TestCustomName(t *testing.T) { + t.Parallel() + + require.Equal(t, "custom", provider.Name(provider.NewCustom(""))) +}