File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
src/TestExplorer/TestParsers
test/integration-tests/testexplorer Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -462,8 +462,8 @@ export class XCTestOutputParser implements IXCTestOutputParser {
462
462
const match = message . match ( regex ) ;
463
463
if ( match && match [ 1 ] !== match [ 2 ] ) {
464
464
return {
465
- expected : match [ 1 ] ,
466
- actual : match [ 2 ] ,
465
+ actual : match [ 1 ] ,
466
+ expected : match [ 2 ] ,
467
467
} ;
468
468
}
469
469
Original file line number Diff line number Diff line change @@ -165,8 +165,8 @@ Test Case '-[MyTests.MyTests testFail]' failed (0.106 seconds).
165
165
) ,
166
166
isKnown : false ,
167
167
diff : {
168
- expected : '"1"' ,
169
- actual : '"2"' ,
168
+ actual : '"1"' ,
169
+ expected : '"2"' ,
170
170
} ,
171
171
} ,
172
172
] ,
@@ -485,7 +485,7 @@ Test Suite 'Selected tests' failed at 2024-10-20 22:01:46.306.
485
485
} ) ;
486
486
487
487
suite ( "Diffs" , ( ) => {
488
- const testRun = ( message : string , expected ?: string , actual ?: string ) => {
488
+ const testRun = ( message : string , actual ?: string , expected ?: string ) => {
489
489
const input = `Test Case '-[MyTests.MyTests testFail]' started.
490
490
/Users/user/Developer/MyTests/MyTests.swift:59: error: -[MyTests.MyTests testFail] : ${ message }
491
491
Test Case '-[MyTests.MyTests testFail]' failed (0.106 seconds).
@@ -589,8 +589,8 @@ Test Case 'MyTests.testFail' failed (0.106 seconds).
589
589
) ,
590
590
isKnown : false ,
591
591
diff : {
592
- expected : '"1"' ,
593
- actual : '"2"' ,
592
+ actual : '"1"' ,
593
+ expected : '"2"' ,
594
594
} ,
595
595
} ,
596
596
] ,
You can’t perform that action at this time.
0 commit comments