CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 08:52:56 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/nodejs/node.git
etag: W/"a851e44a905f1320c0feacb19bba8068"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=RiCbnOVWa5aCiIXAbSisEMyWVgN%2BvEGy0KCFqRdb5gIRgYXsjHc3gv6mzx3Ik39aibGxJGDqOcn%2BgKYqNKB1wFx0YGgRXDbe94uePklFhdqssEVxsXgcAgr8lcnPXsU4FcUSYyZfEHlfvP9hXWaIsv3m%2BkzzdFCVd1mgWCY1MiJ9pBlTKFYbCsz2ent5mDb7RwQ1GQz5D4gD9TgBe1aYGoxzgA6E5KJNiUHu%2FAABn4dZ2prfz%2Bc%2BCQNLg8F1lDAzaQ30l0YyV1BExpwUO0YOpw%3D%3D--DhQtcDs%2FMfUy27kO--bPrDNGOD55LTre4kCnyZYA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.312768682.1760172775; Path=/; Domain=github.com; Expires=Sun, 11 Oct 2026 08:52:55 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 11 Oct 2026 08:52:55 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 878C:9DC1D:4CE9F0:68C471:68EA1AE7
test: use mustSucceed in test-repl-tab-complete-import · nodejs/node@fb07edc · GitHub
Copy file name to clipboardExpand all lines: test/parallel/test-repl-tab-complete-import.js
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
Commit fb07edc
authored
test: use mustSucceed in test-repl-tab-complete-import
Refactor test/parallel/test-repl-tab-complete-import.js to use
mustSucceed in places where no error is expected in the callback. This
clarifies the intent of the tests and improves assertion accuracy.
Refs: #59204
PR-URL: #59368
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent 6fd67ec commit fb07edcCopy full SHA for fb07edc
File tree
Expand file treeCollapse file tree
1 file changed
+10
-19
lines changedFilter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+10
-19
lines changedCollapse file: test/parallel/test-repl-tab-complete-import.js
test/parallel/test-repl-tab-complete-import.js
Copy file name to clipboardExpand all lines: test/parallel/test-repl-tab-complete-import.js+10-19Lines changed: 10 additions & 19 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
36 |
| - | |
| 35 | + | |
37 | 36 |
| |
38 | 37 |
| |
39 | 38 |
| |
| |||
43 | 42 |
| |
44 | 43 |
| |
45 | 44 |
| |
46 |
| - | |
| 45 | + | |
47 | 46 |
| |
48 | 47 |
| |
49 | 48 |
| |
50 | 49 |
| |
51 | 50 |
| |
52 | 51 |
| |
53 |
| - | |
54 |
| - | |
| 52 | + | |
55 | 53 |
| |
56 | 54 |
| |
57 | 55 |
| |
| |||
77 | 75 |
| |
78 | 76 |
| |
79 | 77 |
| |
80 |
| - | |
81 |
| - | |
| 78 | + | |
82 | 79 |
| |
83 | 80 |
| |
84 | 81 |
| |
85 | 82 |
| |
86 | 83 |
| |
87 | 84 |
| |
88 |
| - | |
89 |
| - | |
| 85 | + | |
90 | 86 |
| |
91 | 87 |
| |
92 | 88 |
| |
| |||
96 | 92 |
| |
97 | 93 |
| |
98 | 94 |
| |
99 |
| - | |
100 |
| - | |
| 95 | + | |
101 | 96 |
| |
102 | 97 |
| |
103 | 98 |
| |
| |||
110 | 105 |
| |
111 | 106 |
| |
112 | 107 |
| |
113 |
| - | |
114 |
| - | |
| 108 | + | |
115 | 109 |
| |
116 | 110 |
| |
117 | 111 |
| |
| |||
121 | 115 |
| |
122 | 116 |
| |
123 | 117 |
| |
124 |
| - | |
125 |
| - | |
| 118 | + | |
126 | 119 |
| |
127 | 120 |
| |
128 | 121 |
| |
129 | 122 |
| |
130 | 123 |
| |
131 | 124 |
| |
132 |
| - | |
133 |
| - | |
| 125 | + | |
134 | 126 |
| |
135 | 127 |
| |
136 | 128 |
| |
| |||
140 | 132 |
| |
141 | 133 |
| |
142 | 134 |
| |
143 |
| - | |
144 |
| - | |
| 135 | + | |
145 | 136 |
| |
146 | 137 |
| |
147 | 138 |
| |
|
You can’t perform that action at this time.
0 commit comments