Skip to content

Commit 748ba05

Browse files
committed
[Concurrency][Tests] Bump availability in a couple of tests.
Since we've bumped availability elsewhere, we need to bump these tests also.
1 parent 629d708 commit 748ba05

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/Concurrency/Runtime/isolated_conformance.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ await Task.detached { @SomeGlobalActor in
203203
// CHECK: Testing a separate task off the main actor
204204
print("Testing a separate task off the main actor")
205205
await Task.detached {
206-
if #available(SwiftStdlib 6.2, *) {
206+
if #available(SwiftStdlib 6.3, *) {
207207
// Skip tests on platforms that use the same executor for the main
208208
// actor and the global concurrent executor.
209209
guard Task.defaultExecutor !== MainActor.executor else { return }

test/Concurrency/Runtime/sleep_executor.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
import Dispatch
1616
import StdlibUnittest
1717

18-
@available(SwiftStdlib 6.2, *)
18+
@available(SwiftStdlib 6.3, *)
1919
actor MyActor {
2020
public func doSleep() async {
2121
try! await Task.sleep(for: .seconds(0.1))
2222
}
2323
}
2424

25-
@available(SwiftStdlib 6.2, *)
25+
@available(SwiftStdlib 6.3, *)
2626
final class TestExecutor: TaskExecutor, SchedulingExecutor, @unchecked Sendable {
2727
var asScheduling: SchedulingExecutor? {
2828
return self
@@ -58,7 +58,7 @@ final class TestExecutor: TaskExecutor, SchedulingExecutor, @unchecked Sendable
5858
}
5959
}
6060

61-
@available(SwiftStdlib 6.2, *)
61+
@available(SwiftStdlib 6.3, *)
6262
@main struct Main {
6363
static func main() async {
6464
let tests = TestSuite("sleep_executor")

0 commit comments

Comments
 (0)