github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/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  }