File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
test/OpenTelemetry.AutoInstrumentation.Tests/Configurations/FileBased/Parser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -90,14 +90,14 @@ public void Parse_FullConfigYaml_ShouldPopulateModelCorrectly()
9090 public void Parse_EnvVarYaml_ShouldPopulateModelCompletely ( )
9191 {
9292 Environment . SetEnvironmentVariable ( "OTEL_SDK_DISABLED" , "true" ) ;
93- Environment . SetEnvironmentVariable ( "OTEL_SERVICE_NAME" , "my‑ service" ) ;
93+ Environment . SetEnvironmentVariable ( "OTEL_SERVICE_NAME" , "my- service" ) ;
9494 Environment . SetEnvironmentVariable ( "OTEL_RESOURCE_ATTRIBUTES" , "key=value" ) ;
9595
9696 var config = YamlParser . ParseYaml < YamlConfiguration > ( "Configurations/FileBased/Files/TestResourceFileEnvVars.yaml" ) ;
9797
9898 Assert . Equal ( "1.0-rc.1" , config . FileFormat ) ;
9999 var serviceAttr = config . Resource ? . Attributes ? . First ( a => a . Name == "service.name" ) ;
100100 Assert . NotNull ( serviceAttr ) ;
101- Assert . Equal ( "my‑ service" , serviceAttr . Value ) ;
101+ Assert . Equal ( "my- service" , serviceAttr . Value ) ;
102102 }
103103}
You can’t perform that action at this time.
0 commit comments