From cde4dbb35132848ffece59ef9cfaccff32347124 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 14 Jul 2020 15:24:17 -0400 Subject: Use dprint for internal formatting (#6682) --- std/node/_fs/_fs_appendFile_test.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'std/node/_fs/_fs_appendFile_test.ts') diff --git a/std/node/_fs/_fs_appendFile_test.ts b/std/node/_fs/_fs_appendFile_test.ts index 9c0ccb666..d41065205 100644 --- a/std/node/_fs/_fs_appendFile_test.ts +++ b/std/node/_fs/_fs_appendFile_test.ts @@ -13,7 +13,7 @@ Deno.test({ appendFile("some/path", "some data", "utf8"); }, Error, - "No callback function supplied" + "No callback function supplied", ); }, }); @@ -27,7 +27,7 @@ Deno.test({ appendFile("some/path", "some data", "made-up-encoding", () => {}); }, Error, - "Only 'utf8' encoding is currently supported" + "Only 'utf8' encoding is currently supported", ); assertThrows( () => { @@ -36,17 +36,17 @@ Deno.test({ "some data", // @ts-expect-error Type '"made-up-encoding"' is not assignable to type { encoding: "made-up-encoding" }, - () => {} + () => {}, ); }, Error, - "Only 'utf8' encoding is currently supported" + "Only 'utf8' encoding is currently supported", ); assertThrows( // @ts-expect-error Type '"made-up-encoding"' is not assignable to type () => appendFileSync("some/path", "some data", "made-up-encoding"), Error, - "Only 'utf8' encoding is currently supported" + "Only 'utf8' encoding is currently supported", ); assertThrows( () => @@ -55,7 +55,7 @@ Deno.test({ encoding: "made-up-encoding", }), Error, - "Only 'utf8' encoding is currently supported" + "Only 'utf8' encoding is currently supported", ); }, }); @@ -200,7 +200,7 @@ Deno.test({ assertThrows( () => appendFileSync(tempFile, "hello world", { flag: "ax" }), Deno.errors.AlreadyExists, - "" + "", ); assertEquals(Deno.resources(), openResourcesBeforeAppend); Deno.removeSync(tempFile); -- cgit v1.2.3