Skip to content

Commit 2cb9d0b

Browse files
committed
Fix typo
1 parent 573b001 commit 2cb9d0b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Sources/Nimble/Polling+AsyncAwait.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ internal actor Poller<T> {
4242
fnName: fnName) {
4343
if self.updateMatcherResult(result: try await matcherRunner())
4444
.toBoolean(expectation: style) {
45-
if matchStyle.isContinous {
45+
if matchStyle.isContinuous {
4646
return .incomplete
4747
}
4848
return .finished(true)
4949
} else {
50-
if matchStyle.isContinous {
50+
if matchStyle.isContinuous {
5151
return .finished(false)
5252
} else {
5353
return .incomplete

Sources/Nimble/Polling.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public struct PollingDefaults: @unchecked Sendable {
6969
internal enum AsyncMatchStyle {
7070
case eventually, never, always
7171

72-
var isContinous: Bool {
72+
var isContinuous: Bool {
7373
switch self {
7474
case .eventually:
7575
return false
@@ -97,15 +97,15 @@ internal func poll<T>(
9797
timeoutInterval: timeout,
9898
sourceLocation: actualExpression.location,
9999
fnName: fnName,
100-
isContinuous: matchStyle.isContinous) {
100+
isContinuous: matchStyle.isContinuous) {
101101
lastMatcherResult = try matcher.satisfies(uncachedExpression)
102102
if lastMatcherResult!.toBoolean(expectation: style) {
103-
if matchStyle.isContinous {
103+
if matchStyle.isContinuous {
104104
return .incomplete
105105
}
106106
return .finished(true)
107107
} else {
108-
if matchStyle.isContinous {
108+
if matchStyle.isContinuous {
109109
return .finished(false)
110110
} else {
111111
return .incomplete

0 commit comments

Comments
 (0)