github.com/bradfeehan/terraform@v0.7.0-rc3.0.20170529055808-34b45c5ad841/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  }