Skip to content

Commit

Permalink
test(provider): test names
Browse files Browse the repository at this point in the history
  • Loading branch information
favonia committed Aug 19, 2023
1 parent 4930e86 commit d6accec
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions internal/provider/custom_test.go
Original file line number Diff line number Diff line change
@@ -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("")))
}

0 comments on commit d6accec

Please sign in to comment.