Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@ jobs:
with:
license_header_check_project_name: "Swift"
docs_check_enabled: false
unacceptable_language_check_enabled: false
format_check_enabled: false
api_breakage_check_enabled: false
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
FROM swiftlang/swift:nightly-main-jammy

# Set up the current build user in the same way done in the Swift.org CI system:
# https://github.com/swiftlang/swift-docker/blob/main/swift-ci/master/ubuntu/22.04/Dockerfile
# https://github.com/swiftlang/swift-docker/blob/main/swift-ci/main/ubuntu/22.04/Dockerfile

RUN groupadd -g 998 build-user && \
useradd -m -r -u 998 -g build-user build-user
Expand Down
2 changes: 1 addition & 1 deletion Sources/Testing/ExitTests/ExitTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ extension ExitTest {
// code 3 [...]".
//
// The Wine project's implementation of raise() calls `_exit(3)` by default.
// See https://github.com/wine-mirror/wine/blob/master/dlls/msvcrt/except.c
// See https://github.com/wine-mirror/wine/blob/master/dlls/msvcrt/except.c (ignore-unacceptable-language)
//
// Finally, an official copy of the UCRT sources (not up to date) is hosted
// at https://www.nuget.org/packages/Microsoft.Windows.SDK.CRTSource . That
Expand Down
2 changes: 1 addition & 1 deletion Sources/Testing/ExitTests/SpawnProcess.swift
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ func spawnExecutable(
}
#if SWT_TARGET_OS_APPLE && DEBUG
// Resume the process.
_ = kill(pid, SIGCONT)
_ = kill(pid, SIGCONT) // ignore-unacceptable-language
#endif
return pid
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/Testing/Testing.docc/LimitingExecutionTime.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Some tests may naturally run slowly: they may require significant system
resources to complete, may rely on downloaded data from a server, or may
otherwise be dependent on external factors.

If a test may hang indefinitely or may consume too many system resources to
If a test might stall indefinitely or might consume too many system resources to
complete effectively, consider setting a time limit for it so that it's marked
as failing if it runs for an excessive amount of time. Use the
``Trait/timeLimit(_:)-4kzjp`` trait as an upper bound:
Expand Down
2 changes: 1 addition & 1 deletion Tests/TestingTests/IssueTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ final class IssueTests: XCTestCase {
}

func testCastAsAnyProtocol() async {
// Sanity check that we parse types cleanly.
// Check that we parse types cleanly.
await Test {
#expect((1 as Any) is any Numeric)
_ = try #require((1 as Any) as? any Numeric)
Expand Down
2 changes: 1 addition & 1 deletion Tests/TestingTests/Support/CartesianProductTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ struct CartesianProductTests {

@Test("First element is correct")
func firstElement() throws {
// Sanity-check the first element is correct. (This value is also tested in
// Check that the first element is correct. (This value is also tested in
// testCompleteEquality().)
let (c1, c2, product) = computeCartesianProduct()
let first = try #require(product.first(where: { _ in true }))
Expand Down