update test

This commit is contained in:
ptaylor 2022-08-26 17:06:49 -07:00
parent ceb4b9ba8c
commit 68a82d1d93

View file

@ -19,7 +19,9 @@ describe("github", () => {
assert.equal(name, "bar.txt");
assert.equal(mime, "text/plain");
assert.equal(size, 10);
assert.equal(data.toString(), "release me");
for await (const value of data) {
assert.equal(value, "release me");
}
});
});
});