File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Execution Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -489,8 +489,8 @@ public void RunClassCleanupShouldReturnAssertFailureExceptionDetails()
489489 Verify ( classCleanupException is not null ) ;
490490 Verify ( classCleanupException . Message . StartsWith ( "Class Cleanup method DummyTestClass.ClassCleanupMethod failed." , StringComparison . Ordinal ) ) ;
491491 Verify ( classCleanupException . Message . Contains ( "Error Message: Assert.Fail failed. Test Failure." ) ) ;
492- Verify ( classCleanupException . Message . Contains (
493- $ "{ typeof ( TestClassInfoTests ) . FullName } .<>c.<{ nameof ( this . RunClassCleanupShouldReturnAssertFailureExceptionDetails ) } >") ,
492+ Verify (
493+ classCleanupException . Message . Contains ( $ "{ typeof ( TestClassInfoTests ) . FullName } .<>c.<{ nameof ( this . RunClassCleanupShouldReturnAssertFailureExceptionDetails ) } >") ,
494494 $ "Value: { classCleanupException . Message } ") ;
495495 }
496496
@@ -508,8 +508,8 @@ public void RunClassCleanupShouldReturnAssertInconclusiveExceptionDetails()
508508 Verify ( classCleanupException is not null ) ;
509509 Verify ( classCleanupException . Message . StartsWith ( "Class Cleanup method DummyTestClass.ClassCleanupMethod failed." , StringComparison . Ordinal ) ) ;
510510 Verify ( classCleanupException . Message . Contains ( "Error Message: Assert.Inconclusive failed. Test Inconclusive." ) ) ;
511- Verify ( classCleanupException . Message . Contains (
512- $ "{ typeof ( TestClassInfoTests ) . FullName } .<>c.<{ nameof ( this . RunClassCleanupShouldReturnAssertInconclusiveExceptionDetails ) } >") ,
511+ Verify (
512+ classCleanupException . Message . Contains ( $ "{ typeof ( TestClassInfoTests ) . FullName } .<>c.<{ nameof ( this . RunClassCleanupShouldReturnAssertInconclusiveExceptionDetails ) } >") ,
513513 $ "Value: { classCleanupException . Message } ") ;
514514 }
515515
You can’t perform that action at this time.
0 commit comments