1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-22 06:09:25 -05:00

fix(std/io): Use Deno.test in writers_test (#6273)

This commit is contained in:
Marcos Casagrande 2020-06-13 00:10:25 +02:00 committed by GitHub
parent 1fff6f55c3
commit 2e830f80ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ Deno.test("ioStringWriter", async function (): Promise<void> {
assertEquals(w.toString(), "base0123456789");
});
test("ioStringWriterSync", function (): void {
Deno.test("ioStringWriterSync", function (): void {
const encoder = new TextEncoder();
const w = new StringWriter("");
w.writeSync(encoder.encode("deno"));