Skip to content

Commit b1286f9

Browse files
authored
Merge pull request #80608 from mikeash/fix-varargs-test2-6.2
[6.2][Test] Correctly gate new VarArgs test on new runtime.
2 parents 9234638 + 454dae1 commit b1286f9

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)