Update DebuggerSupport.swift

This commit is contained in:
Alejandro Alonso
2024-05-15 10:02:35 -07:00
parent 180a11fdc2
commit b2f21bbfb3
3 changed files with 15 additions and 4 deletions

View File

@@ -101,6 +101,13 @@ StringForPrintObjectTests.test("DontBridgeThisStruct") {
}
#endif
if #available(SwiftStdlib 6.0, *) {
StringForPrintObjectTests.test("String") {
let printed = _stringForPrintObject("hello\nworld")
expectEqual(printed, "hello\nworld\n")
}
}
class RefCountedObj {
var patatino : Int
init(_ p : Int) {