mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
test: minor refactoring
Add punctuation and comments about code that should not throw. Also remove a obsolete test and refactor some tests. PR-URL: https://github.com/nodejs/node/pull/18669 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
This commit is contained in:
51 files changed
+166
-205
No files matched your search
@@ -6,5 +6,4 @@ if (!common.hasCrypto)
|
||||
const assert = require('assert');
|
||||
const https = require('https');
|
||||
|
||||
https.Agent();
|
||||
assert.ok(https.Agent() instanceof https.Agent);
|
||||
Reference in new issue
Block a user