We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2f21bb commit 528160dCopy full SHA for 528160d
test/stdlib/BridgedObjectDebuggerSupport.swift
@@ -77,7 +77,12 @@ StringForPrintObjectTests.test("NSStringUTF8") {
77
let debug = debugVal(&newNSUTF16)
78
expectEqual("🏂☃❅❆❄︎⛄️❄️", String(reflecting: nsUTF16))
79
expectEqual("\"🏂☃❅❆❄︎⛄️❄️\"", String(reflecting: newNSUTF16))
80
- expectEqual("🏂☃❅❆❄︎⛄️❄️\n", printed)
+
81
+ if #available(SwiftStdlib 6.0, *) {
82
+ expectEqual("🏂☃❅❆❄︎⛄️❄️\n", printed)
83
+ } else {
84
+ expectEqual("\"🏂☃❅❆❄︎⛄️❄️\"\n", printed)
85
+ }
86
expectEqual(printed, debug)
87
}
88
0 commit comments