Fix LATIN1 decode test

It does not work as the latest version of the decode function
requires a Buffer, not just an array.
This commit is contained in:
David Jimenez
2017-06-22 20:13:06 -05:00
parent fededfbfb1
commit 3bdb4b939c
+1 -1
View File
@@ -88,7 +88,7 @@ describe('encodings', function() {
var str;
for (str in samples) {
assert.deepEqual(LATIN1.decode(samples[str]), str);
assert.deepEqual(LATIN1.decode(new Buffer(samples[str])), str);
}
});
});