Skip to content

Commit c98662d

Browse files
committed
test: replace forEach with for..of in test-fs-readv.js
1 parent a259b95 commit c98662d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/parallel/test-fs-readv-sync.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const wrongInputs = [false, 'test', {}, [{}], ['sdf'], null, undefined];
7373
name: 'TypeError'
7474
}
7575
);
76-
};
76+
}
7777

7878
fs.closeSync(fd);
7979
}
@@ -88,5 +88,5 @@ const wrongInputs = [false, 'test', {}, [{}], ['sdf'], null, undefined];
8888
name: 'TypeError'
8989
}
9090
);
91-
};
91+
}
9292
}

test/parallel/test-fs-readv.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const wrongInputs = [false, 'test', {}, [{}], ['sdf'], null, undefined];
7575
name: 'TypeError'
7676
}
7777
);
78-
};
78+
}
7979

8080
fs.closeSync(fd);
8181
}
@@ -90,5 +90,5 @@ const wrongInputs = [false, 'test', {}, [{}], ['sdf'], null, undefined];
9090
name: 'TypeError'
9191
}
9292
);
93-
};
93+
}
9494
}

0 commit comments

Comments
 (0)