github.com/vtorhonen/terraform@v0.9.0-beta2.0.20170307220345-5d894e4ffda7/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  }