Skip to content

Commit 3fcb851

Browse files
committed
Update documentation comment for PollingConfirmationConfigurationTrait to mention that duration may be greater than or equal to interval
1 parent 46624a5 commit 3fcb851

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proposals/testing/NNNN-polling-confirmations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,12 +362,12 @@ extension Trait where Self == PollingConfirmationConfigurationTrait {
362362
/// lasts for, especially on highly-loaded systems with a lot of tests
363363
/// running.
364364
/// if nil, polling will be attempted for approximately 1 second.
365-
/// `duration` must be greater than `interval`.
365+
/// If specified, `duration` must be greater than or equal to `interval`.
366366
/// - interval: The minimum amount of time to wait between polling
367367
/// attempts.
368368
/// If nil, polling will wait at least 1 millisecond between polling
369369
/// attempts.
370-
/// `interval` must be greater than 0.
370+
/// If specified, `interval` must be greater than 0.
371371
public static func pollingConfirmationDefaults(
372372
until stopCondition: PollingStopCondition,
373373
within duration: Duration? = nil,

0 commit comments

Comments
 (0)