Skip to content

Commit e51b666

Browse files
authored
Merge pull request #66668 from hamishknight/asserts-5.9
[5.9] [test] Require asserts for a couple of tests
2 parents 061d92e + 45a4c5f commit e51b666

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

test/ModuleInterface/Observable.swift

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

6+
// Asserts is required for '-enable-experimental-feature InitAccessors'.
7+
// REQUIRES: asserts
8+
69
// REQUIRES: swift_swift_parser
710
// REQUIRES: observation
811

test/stdlib/Observation/Observable.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
// RUN: %target-run-simple-swift( -Xfrontend -disable-availability-checking -parse-as-library -enable-experimental-feature InitAccessors -enable-experimental-feature Macros -Xfrontend -plugin-path -Xfrontend %swift-host-lib-dir/plugins)
44

5+
// Asserts is required for '-enable-experimental-feature InitAccessors'.
6+
// REQUIRES: asserts
7+
58
// REQUIRES: observation
69
// REQUIRES: concurrency
710
// REQUIRES: objc_interop

0 commit comments

Comments
 (0)