File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
test/OpenTelemetry.Resources.ProcessRuntime.Tests Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public void TestProcessRuntimeAttributes()
2121 Assert . Equal ( ".NET Framework" , resourceAttributes [ ProcessRuntimeSemanticConventions . AttributeProcessRuntimeName ] ) ;
2222 Assert . Matches ( @"^4.[1-9](.[1-2])?$" , resourceAttributes [ ProcessRuntimeSemanticConventions . AttributeProcessRuntimeVersion ] ) ;
2323#else
24- Assert . Matches ( @"^\.NET \d+\.\d+\.\d+$" , resourceAttributes [ ProcessRuntimeSemanticConventions . AttributeProcessRuntimeDescription ] ) ;
24+ Assert . Matches ( @"^\.NET \d+\.\d+\.\d+(\-(preview|rc)\.\d+\.\d+\.\d+)? $" , resourceAttributes [ ProcessRuntimeSemanticConventions . AttributeProcessRuntimeDescription ] ) ;
2525 Assert . Equal ( ".NET" , resourceAttributes [ ProcessRuntimeSemanticConventions . AttributeProcessRuntimeName ] ) ;
2626 Assert . Matches ( @"^\d+\.\d+\.\d+$" , resourceAttributes [ ProcessRuntimeSemanticConventions . AttributeProcessRuntimeVersion ] ) ;
2727#endif
You can’t perform that action at this time.
0 commit comments