Skip to content

Commit 454dae1

Browse files
committed
[6.2][Test] Correctly gate new VarArgs test on new runtime.
The empty-arguments test fails when run against an older runtime, so don't test it there. I tried to do this before, but got the condition backwards. rdar://146839898 (cherry picked from commit b2f1b44)
1 parent 362a239 commit 454dae1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/stdlib/VarArgs.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ test_varArgs6()
174174

175175
func test_varArgs7() {
176176
#if canImport(Darwin) && arch(arm64)
177-
let canTest = if #available(SwiftStdlib 6.2, *) { false } else { true }
177+
let canTest = if #available(SwiftStdlib 6.2, *) { true } else { false }
178178
#else
179179
// va_list is more complicated on other targets so that behavior is not the
180180
// same, skip the test by doing a fake print of the expected output. Also

0 commit comments

Comments
 (0)