github.com/danp/terraform@v0.9.5-0.20170426144147-39d740081351/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 }