mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Update tests after transcode() API changes
This commit is contained in:
@@ -136,7 +136,7 @@ class CodecTest<Codec : TestableUnicodeCodec> {
|
||||
)
|
||||
|
||||
encodeIndex = encodeBuffer.startIndex
|
||||
Codec.encode(scalar, output: encodeOutput)
|
||||
Codec.encode(scalar, sendingOutputTo: encodeOutput)
|
||||
expectEqual(
|
||||
nsEncoded, encodeBuffer[0..<encodeIndex],
|
||||
"Decoding failed: \(asHex(nsEncoded)) => " +
|
||||
|
||||
Reference in New Issue
Block a user