summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnkur Oberoi <aoberoi@gmail.com>2018-12-17 17:18:55 -0800
committerAnna Henningsen <anna@addaleax.net>2019-01-14 17:34:25 +0100
commiteb5aab2c46d7c92165de84023b242be079e6b711 (patch)
tree98fd7a1a183dae93383e41c09045c16df25c120b /test
parentbd8d682e21b1a48bdbde297a758a39fa2dadec89 (diff)
downloadandroid-node-v8-eb5aab2c46d7c92165de84023b242be079e6b711.tar.gz
android-node-v8-eb5aab2c46d7c92165de84023b242be079e6b711.tar.bz2
android-node-v8-eb5aab2c46d7c92165de84023b242be079e6b711.zip
util: fixes type in argument type validation error
PR-URL: https://github.com/nodejs/node/pull/25103 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'test')
-rw-r--r--test/parallel/test-util-inherits.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-util-inherits.js b/test/parallel/test-util-inherits.js
index 9bbb4352dc..ed0800c33c 100644
--- a/test/parallel/test-util-inherits.js
+++ b/test/parallel/test-util-inherits.js
@@ -88,7 +88,7 @@ common.expectsError(function() {
}, {
code: 'ERR_INVALID_ARG_TYPE',
type: TypeError,
- message: 'The "superCtor.prototype" property must be of type Function. ' +
+ message: 'The "superCtor.prototype" property must be of type Object. ' +
'Received type undefined'
});