Skip to content

Commit 35d0a4e

Browse files
jakub-gdanielleadams
authored andcommitted
doc: fix comments in test-fs-watch.js
PR-URL: #41046 Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent 3dc8483 commit 35d0a4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-fs-watch.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ class WatchTestCase {
2222
}
2323

2424
const cases = [
25-
// Watch on a directory should callback with a filename on supported systems
25+
// Watch on a file should callback with a filename on supported systems
2626
new WatchTestCase(
2727
common.isLinux || common.isOSX || common.isWindows || common.isAIX,
2828
'watch1',
2929
'foo',
3030
'filePath'
3131
),
32-
// Watch on a file should callback with a filename on supported systems
32+
// Watch on a directory should callback with a filename on supported systems
3333
new WatchTestCase(
3434
common.isLinux || common.isOSX || common.isWindows,
3535
'watch2',

0 commit comments

Comments
 (0)