Skip to content

Commit 5998816

Browse files
authored
Merge pull request #66667 from hamishknight/asserts
[test] Require asserts for a couple of tests
2 parents 9abe0b9 + 3f401fb commit 5998816

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)