From db70b1ef836d3c2696267f51defb5f4f3593f36d Mon Sep 17 00:00:00 2001 From: Jerry Chen Date: Wed, 5 Aug 2026 09:41:42 -0700 Subject: [PATCH] Fix missing docs text for some unsupported confirmation() overloads ### Motivation: Docs for some overloads are missing a few words, so fill them in here. ### Modifications: Update docs for confirmation() overloads. --- Sources/Testing/Issues/Confirmation.swift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Sources/Testing/Issues/Confirmation.swift b/Sources/Testing/Issues/Confirmation.swift index 62407479e..993c79b49 100644 --- a/Sources/Testing/Issues/Confirmation.swift +++ b/Sources/Testing/Issues/Confirmation.swift @@ -215,7 +215,8 @@ public func confirmation( /// that handles the partial-range-through operator (`...n`). /// /// This overload is necessary because the lower bound of `PartialRangeThrough` -/// is ambiguous: does it start at `0` or `1`? Test authors should specify a +/// is ambiguous: does it start at `0` or `1`? Test authors should specify an +/// explicit lower bound. @available(*, unavailable, message: "Range expression '...n' is ambiguous without an explicit lower bound") public func confirmation( _ comment: Comment? = nil, @@ -231,7 +232,8 @@ public func confirmation( /// that handles the partial-range-up-to operator (`..( _ comment: Comment? = nil,