Skip to content

Commit

Permalink
test: replaced forEach with for..of in test-fs-readv.js #49805
Browse files Browse the repository at this point in the history
  • Loading branch information
niyashiyas committed Sep 24, 2023
1 parent 569aef4 commit 80ce3aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-fs-readv-sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const wrongInputs = [false, 'test', {}, [{}], ['sdf'], null, undefined];
name: 'TypeError'
}
);
};
}

fs.closeSync(fd);
}
Expand All @@ -88,5 +88,5 @@ const wrongInputs = [false, 'test', {}, [{}], ['sdf'], null, undefined];
name: 'TypeError'
}
);
};
}
}
4 changes: 2 additions & 2 deletions test/parallel/test-fs-readv.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const wrongInputs = [false, 'test', {}, [{}], ['sdf'], null, undefined];
name: 'TypeError'
}
);
};
}

fs.closeSync(fd);
}
Expand All @@ -90,5 +90,5 @@ const wrongInputs = [false, 'test', {}, [{}], ['sdf'], null, undefined];
name: 'TypeError'
}
);
};
}
}

0 comments on commit 80ce3aa

Please sign in to comment.