github.com/koding/terraform@v0.6.4-0.20170608090606-5d7e0339779d/builtin/providers/azurerm/location_test.go (about)

     1  package azurerm
     2  
     3  import "testing"
     4  
     5  func TestAzureRMNormalizeLocation(t *testing.T) {
     6  	s := azureRMNormalizeLocation("West US")
     7  	if s != "westus" {
     8  		t.Fatalf("expected location to equal westus, actual %s", s)
     9  	}
    10  }