Skip to content

Commit

Permalink
[FIX] Resource: getStream for empty string
Browse files Browse the repository at this point in the history
remove test
  • Loading branch information
tobiasso85 committed Jun 22, 2020
1 parent 7457e45 commit bfe587b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/lib/Resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,12 +185,6 @@ test("Resource: clone resource with stream", (t) => {
});
});

test("getStream for empty file: correctly retrieved", async (t) => {
const resource = createBasicResource("empty.js");
const result = await readStream(resource.getStream());
t.is(result, "", "empty content");
});

test("getStream with createStream callback content: Subsequent content requests should throw error due " +
"to drained content", async (t) => {
const resource = createBasicResource();
Expand Down

0 comments on commit bfe587b

Please sign in to comment.