encode(_:output:) => encode(_:into processCodeUnit:)

This commit is contained in:
Dave Abrahams
2016-06-07 16:12:11 -07:00
parent b2bbd4c599
commit a68f648fab
10 changed files with 45 additions and 44 deletions

View File

@@ -129,7 +129,7 @@ final class CodecTest<Codec : TestableUnicodeCodec> {
) { $0 == $1 }
encodeIndex = encodeBuffer.startIndex
Codec.encode(scalar, sendingOutputTo: encodeOutput)
Codec.encode(scalar, into: encodeOutput)
expectEqual(
nsEncoded, encodeBuffer[0..<encodeIndex],
"Decoding failed: \(asHex(nsEncoded)) => " +