Skip to content

Commit 6e70bef

Browse files
authored
Merge pull request #80607 from mikeash/fix-varargs-test2
[Test] Correctly gate new VarArgs test on new runtime.
2 parents 6db4c37 + b2f1b44 commit 6e70bef

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)