tests - reuse TestEncodingOracle

This commit is contained in:
Benjamin Pasero
2020-07-15 08:32:46 +02:00
parent 492b96a860
commit d1d4e328d1
3 changed files with 2 additions and 19 deletions

View File

@@ -298,7 +298,6 @@ suite('Encoding', () => {
assert.equal(content, '');
});
test('toDecodeStream - encoding, utf16be', async function () {
const path = getPathFromAmdModule(require, './fixtures/some_utf16be.css');
const source = streamToBufferReadableStream(fs.createReadStream(path));
@@ -313,7 +312,6 @@ suite('Encoding', () => {
assert.equal(actual, expected);
});
test('toDecodeStream - empty file', async function () {
const path = getPathFromAmdModule(require, './fixtures/empty.txt');
const source = streamToBufferReadableStream(fs.createReadStream(path));