@@ -35,7 +35,7 @@ func TestWithCredentials(t *testing.T) {
3535func TestDefaultApply (t * testing.T ) {
3636 opts := []option.ClientOption {
3737 WithDefaultEndpoint ("https://example.com:443" ),
38- WithDefaultEndpointTemplate ("https://foo.%s /" ),
38+ WithDefaultEndpointTemplate ("https://foo.UNIVERSE_DOMAIN /" ),
3939 WithDefaultMTLSEndpoint ("http://mtls.example.com:445" ),
4040 WithDefaultScopes ("a" ),
4141 WithDefaultUniverseDomain ("foo.com" ),
@@ -48,7 +48,7 @@ func TestDefaultApply(t *testing.T) {
4848 want := internal.DialSettings {
4949 DefaultScopes : []string {"a" },
5050 DefaultEndpoint : "https://example.com:443" ,
51- DefaultEndpointTemplate : "https://foo.%s /" ,
51+ DefaultEndpointTemplate : "https://foo.UNIVERSE_DOMAIN /" ,
5252 DefaultUniverseDomain : "foo.com" ,
5353 DefaultAudience : "audience" ,
5454 DefaultMTLSEndpoint : "http://mtls.example.com:445" ,
0 commit comments