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 @@ -383,10 +383,9 @@ class APIDigesterTests: XCTestCase {
383
383
XCTAssertFalse ( driver2. diagnosticEngine. hasErrors)
384
384
let contents = try localFileSystem. readFileContents ( path. appending ( component: " changes.dia " ) )
385
385
let diags = try SerializedDiagnostics ( bytes: contents)
386
- XCTAssertEqual ( diags. diagnostics. map ( \. text) , [
387
- " ABI breakage: var MyStruct.a in a non-resilient type changes position from 0 to 1 " ,
388
- " ABI breakage: var MyStruct.b in a non-resilient type changes position from 1 to 0 "
389
- ] )
386
+ let messages = diags. diagnostics. map ( \. text)
387
+ XCTAssertTrue ( messages. contains ( " ABI breakage: var MyStruct.a in a non-resilient type changes position from 0 to 1 " ) )
388
+ XCTAssertTrue ( messages. contains ( " ABI breakage: var MyStruct.b in a non-resilient type changes position from 1 to 0 " ) )
390
389
}
391
390
}
392
391
}
You can’t perform that action at this time.
0 commit comments