File tree 1 file changed +1
-1
lines changed
test/E2ETests/Smoke.E2E.Tests
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ private void ValidateTestRunLifecycle(string targetFramework)
32
32
foreach ( var testMethod in RunEventsHandler . PassedTests )
33
33
{
34
34
Verify ( testMethod . Outcome == Microsoft . VisualStudio . TestPlatform . ObjectModel . TestOutcome . Passed ) ;
35
- var isTestMethodMessageContains = ( string s ) => { return testMethod . Messages . Single ( ) . Text . Contains ( s ) ; } ;
35
+ var isTestMethodMessageContains = ( string s ) => testMethod . Messages . Single ( ) . Text . Contains ( s ) ;
36
36
assemblyInitCalledCount += isTestMethodMessageContains ( "AssemblyInit was called" ) ? 1 : 0 ;
37
37
classCleanupCalledCount += isTestMethodMessageContains ( "ClassCleanup was called" ) ? 1 : 0 ;
38
38
assemblyCleanupCalledCount += isTestMethodMessageContains ( "AssemblyCleanup was called" ) ? 1 : 0 ;
You can’t perform that action at this time.
0 commit comments