From 2f9beb37b9485052c9b61aa84643f14ab43935c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Kie=C5=82kowicz?= Date: Mon, 7 Feb 2022 14:20:20 +0100 Subject: [PATCH] fix compilation issues --- .../OtlpExporterOptionsTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests/OtlpExporterOptionsTests.cs b/test/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests/OtlpExporterOptionsTests.cs index e4f69e34a59..f92b7996885 100644 --- a/test/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests/OtlpExporterOptionsTests.cs +++ b/test/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests/OtlpExporterOptionsTests.cs @@ -122,7 +122,7 @@ public void OtlpExporterOptions_ProtocolSetterDoesNotOverrideCustomEndpointFromE { Environment.SetEnvironmentVariable(OtlpExporterOptions.EndpointEnvVarName, "http://test:8888"); - var options = new OtlpExporterOptions {Protocol = OtlpExportProtocol.Grpc}; + var options = new OtlpExporterOptions { Protocol = OtlpExportProtocol.Grpc }; Assert.Equal(new Uri("http://test:8888"), options.Endpoint); Assert.Equal(OtlpExportProtocol.Grpc, options.Protocol); @@ -131,7 +131,7 @@ public void OtlpExporterOptions_ProtocolSetterDoesNotOverrideCustomEndpointFromE [Fact] public void OtlpExporterOptions_ProtocolSetterDoesNotOverrideCustomEndpointFromSetter() { - var options = new OtlpExporterOptions {Endpoint = new Uri("http://test:8888"), Protocol = OtlpExportProtocol.Grpc}; + var options = new OtlpExporterOptions { Endpoint = new Uri("http://test:8888"), Protocol = OtlpExportProtocol.Grpc }; Assert.Equal(new Uri("http://test:8888"), options.Endpoint); Assert.Equal(OtlpExportProtocol.Grpc, options.Protocol);