Skip to content

Commit 2894a43

Browse files
committed
format code
1 parent 6a4c33e commit 2894a43

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

tests/unit_node/_fs/_fs_handle_test.ts

+17-17
Original file line numberDiff line numberDiff line change
@@ -200,20 +200,20 @@ Deno.test(
200200
},
201201
);
202202

203-
Deno.test({
204-
name: "[node/fs filehandle.chmod] Change the permissions of the file",
205-
ignore: Deno.build.os === "windows",
206-
async fn() {
207-
const fileHandle = await fs.open(testData);
208-
209-
const readOnly = 0o444;
210-
await fileHandle.chmod(readOnly.toString(8));
211-
assertEquals(Deno.statSync(testData).mode! & 0o777, readOnly);
212-
213-
const readWrite = 0o666;
214-
await fileHandle.chmod(readWrite.toString(8));
215-
assertEquals(Deno.statSync(testData).mode! & 0o777, readWrite);
216-
217-
await fileHandle.close();
218-
},
219-
});
203+
Deno.test({
204+
name: "[node/fs filehandle.chmod] Change the permissions of the file",
205+
ignore: Deno.build.os === "windows",
206+
async fn() {
207+
const fileHandle = await fs.open(testData);
208+
209+
const readOnly = 0o444;
210+
await fileHandle.chmod(readOnly.toString(8));
211+
assertEquals(Deno.statSync(testData).mode! & 0o777, readOnly);
212+
213+
const readWrite = 0o666;
214+
await fileHandle.chmod(readWrite.toString(8));
215+
assertEquals(Deno.statSync(testData).mode! & 0o777, readWrite);
216+
217+
await fileHandle.close();
218+
},
219+
});

0 commit comments

Comments
 (0)