Skip to content

Commit 9ee0a29

Browse files
authored
Merge pull request #25908 from aschwaighofer/fix_test_dynamic_replacement_multifile
2 parents 379b7ad + d4a7e5e commit 9ee0a29

File tree

1 file changed

+4
-4
lines changed
  • test/Interpreter/dynamic_replacement_multifile

1 file changed

+4
-4
lines changed

test/Interpreter/dynamic_replacement_multifile/main.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ func bar_r(_ x: Int) -> some P {
4848
var DynamicallyReplaceable = TestSuite("DynamicallyReplaceable")
4949

5050
DynamicallyReplaceable.test("DynamicallyReplaceable") {
51-
expectEqual(1, replaceable())
52-
expectEqual(2, replaceable1())
53-
expectEqual(3, replaceable2())
54-
expectEqual(7, replaceableInOtherFile())
5551
if #available(macOS 9999, iOS 9999, tvOS 9999, watchOS 9999, *) {
52+
expectEqual(1, replaceable())
53+
expectEqual(2, replaceable1())
54+
expectEqual(3, replaceable2())
55+
expectEqual(7, replaceableInOtherFile())
5656
expectEqual(16, MemoryLayout.size(ofValue: bar(5)))
5757
expectEqual(16, MemoryLayout.size(ofValue: bar1(5)))
5858
expectEqual(16, MemoryLayout.size(ofValue: bar2(5)))

0 commit comments

Comments
 (0)