From cb613d13f750fa06e3ba434a17d41bb0e665915c Mon Sep 17 00:00:00 2001 From: Nikolay Karadzhov Date: Mon, 6 Jan 2025 13:19:48 +0200 Subject: [PATCH] format code --- tests/unit_node/_fs/_fs_handle_test.ts | 34 +++++++++++++------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/tests/unit_node/_fs/_fs_handle_test.ts b/tests/unit_node/_fs/_fs_handle_test.ts index 54d5aebe12b574..e4a41f8ba76bdb 100644 --- a/tests/unit_node/_fs/_fs_handle_test.ts +++ b/tests/unit_node/_fs/_fs_handle_test.ts @@ -200,20 +200,20 @@ Deno.test( }, ); - Deno.test({ - name: "[node/fs filehandle.chmod] Change the permissions of the file", - ignore: Deno.build.os === "windows", - async fn() { - const fileHandle = await fs.open(testData); - - const readOnly = 0o444; - await fileHandle.chmod(readOnly.toString(8)); - assertEquals(Deno.statSync(testData).mode! & 0o777, readOnly); - - const readWrite = 0o666; - await fileHandle.chmod(readWrite.toString(8)); - assertEquals(Deno.statSync(testData).mode! & 0o777, readWrite); - - await fileHandle.close(); - }, - }); +Deno.test({ + name: "[node/fs filehandle.chmod] Change the permissions of the file", + ignore: Deno.build.os === "windows", + async fn() { + const fileHandle = await fs.open(testData); + + const readOnly = 0o444; + await fileHandle.chmod(readOnly.toString(8)); + assertEquals(Deno.statSync(testData).mode! & 0o777, readOnly); + + const readWrite = 0o666; + await fileHandle.chmod(readWrite.toString(8)); + assertEquals(Deno.statSync(testData).mode! & 0o777, readWrite); + + await fileHandle.close(); + }, +});