summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2017-03-25 10:33:29 -0700
committerJames M Snell <jasnell@gmail.com>2017-03-27 10:12:44 -0700
commit51b007aaa7e9d37421b1f439cf3fed8bccb15307 (patch)
treed19d6e68a5f1c6b9d4026fbc66a9ea764af97724 /src
parent1005b1dc747b1d32c27743a1d735585e4aee9bbc (diff)
downloadandroid-node-v8-51b007aaa7e9d37421b1f439cf3fed8bccb15307.tar.gz
android-node-v8-51b007aaa7e9d37421b1f439cf3fed8bccb15307.tar.bz2
android-node-v8-51b007aaa7e9d37421b1f439cf3fed8bccb15307.zip
test: add cctest for native URL class
PR-URL: https://github.com/nodejs/node/pull/12042 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/node_url.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_url.h b/src/node_url.h
index b9d91782be..21eabd046a 100644
--- a/src/node_url.h
+++ b/src/node_url.h
@@ -492,7 +492,7 @@ enum url_error_cb_args {
#define XX(name) name,
ERR_ARGS(XX)
#undef XX
-} url_error_cb_args;
+};
static inline bool IsSpecial(std::string scheme) {
#define XX(name, _) if (scheme == name) return true;