Skip to content

Commit a3ef682

Browse files
author
Chris Williams
committed
Fix typos
1 parent e3b502b commit a3ef682

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Sources/XCTest/XCTAssert.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ private func _XCTEvaluateAssertion(_ assertion: _XCTAssertion, message: @autoclo
129129
/// }
130130
/// ```
131131
///
132-
/// Calling this assertion will cause XCTest to report the failure occured
132+
/// Calling this assertion will cause XCTest to report the failure occurred
133133
/// in the file where `AssertEmpty()` is defined, and on the line where
134134
/// `XCTAssertEqual` is called from within that function:
135135
///

Sources/XCTest/XCTestCase.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public class XCTestCase: XCTest {
121121

122122
// FIXME: Apple XCTest does not throw a fatal error and crash the test
123123
// process, it merely prevents the remainder of a testClosure
124-
// from execting after it's been determined that it has already
124+
// from expecting after it's been determined that it has already
125125
// failed. The following behavior is incorrect.
126126
// FIXME: No regression tests exist for this feature. We may break it
127127
// without ever realizing.

Sources/XCTest/XCTestCaseSuite.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
//
99
//
1010
// XCTestCaseSuite.swift
11-
// A test suite associated with a paticular test case class.
11+
// A test suite associated with a particular test case class.
1212
//
1313

1414
#if os(Linux) || os(FreeBSD)

0 commit comments

Comments
 (0)