Skip to content

Commit 47b127f

Browse files
authored
Avoid accidental use of #_sourceLocation in the library target. (#722)
1 parent 9d1bb5f commit 47b127f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Testing/ExitTests/ExitTest.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ extension ExitTest {
470470
} catch {
471471
// NOTE: an error caught here indicates an I/O problem.
472472
// TODO: should we record these issues as systemic instead?
473-
Issue.record(error)
473+
Issue(for: error).record()
474474
return
475475
}
476476

@@ -482,7 +482,7 @@ extension ExitTest {
482482
} catch {
483483
// NOTE: an error caught here indicates a decoding problem.
484484
// TODO: should we record these issues as systemic instead?
485-
Issue.record(error)
485+
Issue(for: error).record()
486486
}
487487
}
488488
}

0 commit comments

Comments
 (0)