Commit ee653ec
test: move require http2 to after crypto check
Currently test-http2-client-write-empty-string.js will throw "Error
[ERR_NO_CRYPTO]: Node.js is not compiled with OpenSSL crypto support"
when configured --without-ssl.
This commit moves the require of http2 to after the crypto check to
avoid this error.
PR-URL: #19111
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>1 parent 2f17c52 commit ee653ecCopy full SHA for ee653ec
File tree
Expand file treeCollapse file tree
1 file changed
+2
-1
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+2
-1
lines changedOpen diff view settings
Collapse file
test/parallel/test-http2-client-write-empty-string.js
Copy file name to clipboardExpand all lines: test/parallel/test-http2-client-write-empty-string.js+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
4 | | - |
5 | 4 | |
6 | 5 | |
7 | 6 | |
8 | 7 | |
9 | 8 | |
| 9 | + |
| 10 | + |
10 | 11 | |
11 | 12 | |
12 | 13 | |
|
0 commit comments