Skip to content

Commit fdc194b

Browse files
committed
Fixes typos.
1 parent 4469683 commit fdc194b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

RxBlocking/BlockingObservable+Operators.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/// If the sequence terminates successfully, the result is represented
1717
/// by `.completed` with the array of elements.
1818
///
19-
/// If the sequene terminates with error, the result is represented
19+
/// If the sequence terminates with error, the result is represented
2020
/// by `.failed` with both the array of elements and the terminating error.
2121
public enum MaterializedSequenceResult<T> {
2222
case completed(elements: [T])

Tests/RxBlockingTests/Observable+BlockingTest.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ extension ObservableBlockingTest {
357357

358358
switch result {
359359
case .completed:
360-
XCTFail("Expected result to be complete eith error, but result was successful.")
360+
XCTFail("Expected result to be complete with error, but result was successful.")
361361
case .failed(let elements, let error):
362362
XCTAssertEqual(elements, [])
363363
XCTAssertErrorEqual(error, testError)
@@ -381,7 +381,7 @@ extension ObservableBlockingTest {
381381

382382
switch result {
383383
case .completed:
384-
XCTFail("Expected result to be complete eith error, but result was successful.")
384+
XCTFail("Expected result to be complete with error, but result was successful.")
385385
case .failed(let elements, let error):
386386
XCTAssertEqual(elements, [42, 43, 44, 45])
387387
XCTAssertErrorEqual(error, testError)

0 commit comments

Comments
 (0)