File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -385,10 +385,9 @@ class APIDigesterTests: XCTestCase {
385
385
XCTAssertFalse ( driver2. diagnosticEngine. hasErrors)
386
386
let contents = try localFileSystem. readFileContents ( path. appending ( component: " changes.dia " ) )
387
387
let diags = try SerializedDiagnostics ( bytes: contents)
388
- XCTAssertEqual ( diags. diagnostics. map ( \. text) , [
389
- " ABI breakage: var MyStruct.a in a non-resilient type changes position from 0 to 1 " ,
390
- " ABI breakage: var MyStruct.b in a non-resilient type changes position from 1 to 0 "
391
- ] )
388
+ let messages = diags. diagnostics. map ( \. text)
389
+ XCTAssertTrue ( messages. contains ( " ABI breakage: var MyStruct.a in a non-resilient type changes position from 0 to 1 " ) )
390
+ XCTAssertTrue ( messages. contains ( " ABI breakage: var MyStruct.b in a non-resilient type changes position from 1 to 0 " ) )
392
391
}
393
392
}
394
393
}
You can’t perform that action at this time.
0 commit comments