From d6accec512f9c5b0d0144cb79a4de577521e975f Mon Sep 17 00:00:00 2001 From: favonia Date: Sun, 20 Aug 2023 07:23:07 +0800 Subject: [PATCH] test(provider): test names --- internal/provider/custom_test.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 internal/provider/custom_test.go 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(""))) +}