Skip to content

Commit 004acdb

Browse files
Update docs for decoding stdout and stderr from exit tests (#1230)
1 parent ac4f8da commit 004acdb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Testing/ExitTests/ExitTest.Result.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ extension ExitTest {
3838
/// The value of this property may contain any arbitrary sequence of bytes,
3939
/// including sequences that are not valid UTF-8 and cannot be decoded by
4040
/// [`String.init(cString:)`](https://developer.apple.com/documentation/swift/string/init(cstring:)-6kr8s).
41-
/// Consider using [`String.init(validatingCString:)`](https://developer.apple.com/documentation/swift/string/init(validatingcstring:)-992vo)
41+
/// Consider using [`String.init(validating:as:)`](https://developer.apple.com/documentation/swift/string/init(validating:as:)-84qr9)
4242
/// instead.
4343
///
4444
/// When checking the value of this property, keep in mind that the standard
@@ -69,7 +69,7 @@ extension ExitTest {
6969
/// The value of this property may contain any arbitrary sequence of bytes,
7070
/// including sequences that are not valid UTF-8 and cannot be decoded by
7171
/// [`String.init(cString:)`](https://developer.apple.com/documentation/swift/string/init(cstring:)-6kr8s).
72-
/// Consider using [`String.init(validatingCString:)`](https://developer.apple.com/documentation/swift/string/init(validatingcstring:)-992vo)
72+
/// Consider using [`String.init(validating:as:)`](https://developer.apple.com/documentation/swift/string/init(validating:as:)-84qr9)
7373
/// instead.
7474
///
7575
/// When checking the value of this property, keep in mind that the standard

0 commit comments

Comments
 (0)