Skip to content

Commit cb14b43

Browse files
committed
Applied copilot suggestions.
1 parent 240b42b commit cb14b43

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

javascript/ql/test/library-tests/frameworks/ClientRequests/ClientRequests.expected

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ test_ClientRequest
9898
| tst.js:320:5:320:23 | superagent.del(url) |
9999
| tst.js:321:5:321:32 | superag ... st(url) |
100100
| tst.js:328:5:328:38 | got(und ... ptions) |
101-
| tst.js:329:5:329:45 | got(und ... {url})) |
101+
| tst.js:329:5:329:49 | got(und ... {url})) |
102102
| tst.js:332:5:332:46 | got.ext ... ).get() |
103103
| tst.js:334:5:334:25 | got.pag ... rl, {}) |
104104
| tst.js:337:5:337:20 | jsonClient.get() |
@@ -262,8 +262,8 @@ test_getUrl
262262
| tst.js:321:5:321:32 | superag ... st(url) | tst.js:321:29:321:31 | url |
263263
| tst.js:328:5:328:38 | got(und ... ptions) | tst.js:327:34:327:36 | url |
264264
| tst.js:328:5:328:38 | got(und ... ptions) | tst.js:328:9:328:17 | undefined |
265-
| tst.js:329:5:329:45 | got(und ... {url})) | tst.js:329:9:329:17 | undefined |
266-
| tst.js:329:5:329:45 | got(und ... {url})) | tst.js:329:40:329:42 | url |
265+
| tst.js:329:5:329:49 | got(und ... {url})) | tst.js:329:9:329:17 | undefined |
266+
| tst.js:329:5:329:49 | got(und ... {url})) | tst.js:329:44:329:46 | url |
267267
| tst.js:334:5:334:25 | got.pag ... rl, {}) | tst.js:334:18:334:20 | url |
268268
| tst.js:337:5:337:20 | jsonClient.get() | tst.js:336:41:336:43 | url |
269269
| tst.js:340:5:340:21 | jsonClient2.get() | tst.js:339:42:339:44 | url |
@@ -349,7 +349,7 @@ test_getAResponseDataNode
349349
| tst.js:320:5:320:23 | superagent.del(url) | tst.js:320:5:320:23 | superagent.del(url) | stream | true |
350350
| tst.js:321:5:321:32 | superag ... st(url) | tst.js:321:5:321:32 | superag ... st(url) | stream | true |
351351
| tst.js:328:5:328:38 | got(und ... ptions) | tst.js:328:5:328:38 | got(und ... ptions) | text | true |
352-
| tst.js:329:5:329:45 | got(und ... {url})) | tst.js:329:5:329:45 | got(und ... {url})) | text | true |
352+
| tst.js:329:5:329:49 | got(und ... {url})) | tst.js:329:5:329:49 | got(und ... {url})) | text | true |
353353
| tst.js:332:5:332:46 | got.ext ... ).get() | tst.js:332:5:332:46 | got.ext ... ).get() | text | true |
354354
| tst.js:334:5:334:25 | got.pag ... rl, {}) | tst.js:334:5:334:25 | got.pag ... rl, {}) | text | true |
355355
| tst.js:337:5:337:20 | jsonClient.get() | tst.js:337:5:337:20 | jsonClient.get() | text | true |

javascript/ql/test/library-tests/frameworks/ClientRequests/tst.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ import { Options } from 'got';
326326
function gotTests(url){
327327
const options = new Options({url});
328328
got(undefined, undefined, options);
329-
got(undefined, undefined, Options({url}));
329+
got(undefined, undefined, new Options({url}));
330330

331331
const options2 = new Options({url});
332332
got.extend(options2).extend(options).get();

0 commit comments

Comments
 (0)