summaryrefslogtreecommitdiff
path: root/test/parallel/test-fs-copyfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-fs-copyfile.js')
-rw-r--r--test/parallel/test-fs-copyfile.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-fs-copyfile.js b/test/parallel/test-fs-copyfile.js
index 6220912b80..2977a59847 100644
--- a/test/parallel/test-fs-copyfile.js
+++ b/test/parallel/test-fs-copyfile.js
@@ -66,7 +66,7 @@ common.expectsError(() => {
}, {
code: 'ERR_INVALID_ARG_TYPE',
type: TypeError,
- message: 'The "callback" argument must be of type function'
+ message: 'The "callback" argument must be of type Function'
});
// Throws if the source path is not a string.