Skip to content

Commit 4e6e6bd

Browse files
committed
[Tests] NFC: Add assertions requirement to a type wrapper test
Resolves: rdar://103452169
1 parent d64a24c commit 4e6e6bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/ModuleInterface/type_wrappers.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// RUN: %target-swift-typecheck-module-from-interface(%t/TypeWrappers.swiftinterface) -module-name TypeWrappers
44
// RUN: %FileCheck %s < %t/TypeWrappers.swiftinterface
55

6+
// REQUIRES: asserts
7+
68
// CHECK: @typeWrapper public struct Wrapper<W, S> {
79
// CHECK-NEXT: public init(for: W.Type, storage: S)
810
// CHECK-NEXT: public subscript<V>(propertyKeyPath _: Swift.KeyPath<W, V>, storageKeyPath path: Swift.KeyPath<S, V>) -> V {

0 commit comments

Comments
 (0)