test: add test for url

PR-URL: https://github.com/nodejs/node/pull/11999
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
This commit is contained in:
Yuta Hiroto 2017-03-23 10:57:26 +09:00
parent e40ac30e05
commit abb0bdd53f
No known key found for this signature in database
GPG Key ID: E03998F3E2B165C2

View File

@ -4,6 +4,9 @@ const assert = require('assert');
const inspect = require('util').inspect;
const url = require('url');
// when source is false
assert.strictEqual(url.resolveObject('', 'foo'), 'foo');
/*
[from, path, expected]
*/