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(); + }, +});