File tree Expand file tree Collapse file tree 2 files changed +4
-14
lines changed
Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -18,17 +18,12 @@ public Task<SqlDatabase<SampleDbContext>> LocalDb(string? suffix = null) =>
1818 static string GetName ( string ? suffix )
1919 {
2020 var test = TestContext . CurrentContext . Test ;
21- var methodName = test . MethodName ! ;
21+ var method = test . MethodName ! ;
2222 var arguments = string . Join (
2323 ' ' ,
2424 test . Arguments . Select ( VerifierSettings . GetNameForParameter ) ) ;
2525
26- if ( suffix == null )
27- {
28- return $ "{ test . MethodName } _{ arguments } _{ suffix } ";
29- }
30-
31- return $ "{ methodName } _{ arguments } _{ suffix } ";
26+ return $ "{ method } _{ arguments } _{ suffix } ";
3227 }
3328
3429 string testFile ;
Original file line number Diff line number Diff line change @@ -21,17 +21,12 @@ public Task<SqlDatabase> LocalDb(string? suffix = null) =>
2121 static string GetName ( string ? suffix )
2222 {
2323 var test = TestContext . CurrentContext . Test ;
24- var methodName = test . MethodName ! ;
24+ var method = test . MethodName ! ;
2525 var arguments = string . Join (
2626 ' ' ,
2727 test . Arguments . Select ( VerifierSettings . GetNameForParameter ) ) ;
2828
29- if ( suffix == null )
30- {
31- return $ "{ test . MethodName } _{ arguments } _{ suffix } ";
32- }
33-
34- return $ "{ methodName } _{ arguments } _{ suffix } ";
29+ return $ "{ method } _{ arguments } _{ suffix } ";
3530 }
3631
3732 string testFile ;
You can’t perform that action at this time.
0 commit comments