summaryrefslogtreecommitdiff
path: root/test/parallel/test-https-byteswritten.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-https-byteswritten.js')
-rw-r--r--test/parallel/test-https-byteswritten.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/parallel/test-https-byteswritten.js b/test/parallel/test-https-byteswritten.js
index cad824c5fe..8f4d761c02 100644
--- a/test/parallel/test-https-byteswritten.js
+++ b/test/parallel/test-https-byteswritten.js
@@ -21,13 +21,11 @@
'use strict';
const common = require('../common');
+if (!common.hasCrypto)
+ common.skip('missing crypto');
+
const assert = require('assert');
const fs = require('fs');
-
-if (!common.hasCrypto) {
- common.skip('missing crypto');
- return;
-}
const https = require('https');
const options = {