Update tests after transcode() API changes

This commit is contained in:
Dmitri Gribenko
2016-02-25 20:31:23 -08:00
parent 836e7785f9
commit a77104d459
3 changed files with 79 additions and 18 deletions

View File

@@ -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)) => " +