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 e02d7e7 commit 902443eCopy full SHA for 902443e
validation-test/stdlib/Unicode.swift
@@ -797,7 +797,7 @@ UTF8Decoder.test("Internal/_isValidUTF8") {
797
data |= UInt32(cp) << (i*8)
798
i += 1
799
}
800
- expectEqual(FastUTF8._isValidUTF8(data), true, "data=\(asHex(data))")
+ expectEqual(UTF8._isValidUTF8(data), true, "data=\(asHex(data))")
801
802
803
for i in 0..<0xd800 { ensureValid(UnicodeScalar(i)) }
@@ -809,7 +809,7 @@ UTF8Decoder.test("Internal/_isValidUTF8") {
809
for cu0 in head {
810
for rest in tail {
811
let data = rest << 8 | cu0
812
- if FastUTF8._isValidUTF8(data) { n += 1 }
+ if UTF8._isValidUTF8(data) { n += 1 }
813
814
815
0 commit comments