summaryrefslogtreecommitdiff
path: root/test/parallel/test-intl-v8BreakIterator.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-intl-v8BreakIterator.js')
-rw-r--r--test/parallel/test-intl-v8BreakIterator.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/parallel/test-intl-v8BreakIterator.js b/test/parallel/test-intl-v8BreakIterator.js
index 70f0f782bb..6e9c9dbe3a 100644
--- a/test/parallel/test-intl-v8BreakIterator.js
+++ b/test/parallel/test-intl-v8BreakIterator.js
@@ -1,9 +1,8 @@
'use strict';
const common = require('../common');
-if (!common.hasIntl || Intl.v8BreakIterator === undefined) {
- return common.skip('missing Intl');
-}
+if (!common.hasIntl || Intl.v8BreakIterator === undefined)
+ common.skip('missing Intl');
const assert = require('assert');
const warning = 'Intl.v8BreakIterator is deprecated and will be removed soon.';