Skip to content

Commit 729b757

Browse files
committed
[Tests][Runtime] Update availability test for demangleTruncate.
The fix for this issue didn't ship in 10.15, so testing it there just causes a build failure. rdar://87181765
1 parent e7d55b2 commit 729b757

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/stdlib/Runtime.swift.gyb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ Runtime.test("demangleName") {
378378
expectEqual("Foobar", _stdlib_demangleName("$s13__lldb_expr_46FoobarCD"))
379379
}
380380

381-
if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *) {
381+
if #available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, *) {
382382
Runtime.test("demangleTruncate") {
383383
// Swift.Int requires 10 bytes to be fully demangled.
384384
let buffer = UnsafeMutableBufferPointer<Int8>.allocate(capacity: 10)

0 commit comments

Comments
 (0)