mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
tests - reuse TestEncodingOracle
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user