summaryrefslogtreecommitdiff
path: root/test/parallel/test-url-format-whatwg.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-url-format-whatwg.js')
-rw-r--r--test/parallel/test-url-format-whatwg.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/parallel/test-url-format-whatwg.js b/test/parallel/test-url-format-whatwg.js
index f7363fdbb9..d484760c80 100644
--- a/test/parallel/test-url-format-whatwg.js
+++ b/test/parallel/test-url-format-whatwg.js
@@ -1,10 +1,9 @@
'use strict';
const common = require('../common');
-if (!common.hasIntl) {
+if (!common.hasIntl)
common.skip('missing Intl');
- return;
-}
+
const assert = require('assert');
const url = require('url');
const URL = url.URL;