Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 46876d5

Browse filesBrowse files
silverwindjasnell
authored andcommitted
test: remove arguments.callee usage
arguments.callee is forbidden in strict mode and the fact that it's being used masked a possible error in this test. PR-URL: #3167 Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
1 parent 9d65528 commit 46876d5
Copy full SHA for 46876d5

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-fs-utimes.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-fs-utimes.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function expect_errno(syscall, resource, err, errno) {
3030
if (err && (err.code === errno || err.code === 'ENOSYS')) {
3131
tests_ok++;
3232
} else {
33-
console.log('FAILED:', arguments.callee.name, util.inspect(arguments));
33+
console.log('FAILED:', 'expect_errno', util.inspect(arguments));
3434
}
3535
}
3636

@@ -39,7 +39,7 @@ function expect_ok(syscall, resource, err, atime, mtime) {
3939
err && err.code === 'ENOSYS') {
4040
tests_ok++;
4141
} else {
42-
console.log('FAILED:', arguments.callee.name, util.inspect(arguments));
42+
console.log('FAILED:', 'expect_ok', util.inspect(arguments));
4343
}
4444
}
4545

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.