Skip to content

Commit 2f78f5a

Browse files
authored
Merge pull request #60176 from DougGregor/fix-test-assertions-experimental-feature
2 parents fc39174 + 9bd9504 commit 2f78f5a

8 files changed

+9
-1
lines changed

test/ClangImporter/objc_async.swift

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
// REQUIRES: objc_interop
44
// REQUIRES: concurrency
5+
// REQUIRES: asserts
6+
57
import Foundation
68
import ObjCConcurrency
79
// expected-remark@-1{{add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjCConcurrency'}}

test/Concurrency/objc_async_overload.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -disable-availability-checking -typecheck -verify -import-objc-header %S/Inputs/Delegate.h -enable-experimental-feature SendableCompletionHandlers %s
22
// REQUIRES: concurrency
33
// REQUIRES: objc_interop
4-
4+
// REQUIRES: asserts
55

66
// overload resolution should pick sync version in a sync context
77
func syncContext() {

test/IDE/print_clang_objc_async.swift

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
// REQUIRES: objc_interop
77
// REQUIRES: concurrency
8+
// REQUIRES: asserts
89
import _Concurrency
910

1011
// CHECK-LABEL: class SlowServer : NSObject, ServiceProvider {

test/IDE/print_clang_objc_effectful_properties.swift

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
// REQUIRES: concurrency
77
// REQUIRES: objc_interop
8+
// REQUIRES: asserts
89

910
// CHECK-LABEL: class EffProps : NSObject {
1011
// CHECK: @available(*, renamed: "getter:doggo()")

test/IDE/print_objc_concurrency_interface.swift

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
// REQUIRES: objc_interop
99
// REQUIRES: concurrency
10+
// REQUIRES: asserts
1011
import _Concurrency
1112

1213
// CHECK-LABEL: class SlowServer : NSObject, ServiceProvider {

test/IDE/print_omit_needless_words.swift

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// REQUIRES: objc_interop
44
// FIXME: this is failing on simulators
55
// REQUIRES: OS=macosx
6+
// REQUIRES: asserts
67

78
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk-nosource -I %t) -emit-module -o %t %S/../Inputs/clang-importer-sdk/swift-modules/ObjectiveC.swift -disable-objc-attr-requires-foundation-module -enable-experimental-feature SendableCompletionHandlers
89
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk-nosource -I %t) -emit-module -o %t %S/../Inputs/clang-importer-sdk/swift-modules/CoreGraphics.swift -enable-experimental-feature SendableCompletionHandlers

test/SourceKit/DocSupport/doc_objc_concurrency.swift

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// REQUIRES: objc_interop
22
// REQUIRES: concurrency
3+
// REQUIRES: asserts
34

45
// RUN: %empty-directory(%t)
56

test/SourceKit/InterfaceGen/gen_objc_concurrency.swift

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// REQUIRES: objc_interop
22
// REQUIRES: concurrency
3+
// REQUIRES: asserts
34

45
// RUN: %empty-directory(%t)
56

0 commit comments

Comments
 (0)