File tree 1 file changed +17
-17
lines changed
1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -200,20 +200,20 @@ Deno.test(
200
200
} ,
201
201
) ;
202
202
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
+ } ) ;
You can’t perform that action at this time.
0 commit comments