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 025bcb1 commit a5c43b1Copy full SHA for a5c43b1
Tests/SystemTests/SystemStringTests.swift
@@ -288,7 +288,7 @@ extension SystemStringTest {
288
source.withUnsafeBufferPointer {
289
XCTAssertEqual(str, String(validatingPlatformString: $0.baseAddress!))
290
}
291
- source[1] = CInterop.PlatformChar(truncatingIfNeeded: 0xffff)
+ source[1] = CInterop.PlatformChar(truncatingIfNeeded: 0xdfff)
292
str = String(validatingPlatformString: source)
293
XCTAssertNil(str)
294
0 commit comments