diff --git a/provider/provider_test.go b/provider/provider_test.go new file mode 100644 index 00000000..60a5ebcf --- /dev/null +++ b/provider/provider_test.go @@ -0,0 +1,17 @@ +package provider + +import ( + "testing" +) + +func TestProviderType(t *testing.T) { + if None.String() != "" { + t.Fatal("None provider type should be empty string") + } + if Local.String() != "Local" { + t.Fatal("Local provider type should be 'Local'") + } + if Remote.String() != "Remote" { + t.Fatal("Remote provider type should be 'Remote'") + } +}