Skip to content

Commit 373d71e

Browse files
committed
update analysis tests
1 parent 6f4c5b8 commit 373d71e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/analysis_tests/tests/src/expected/Completion.res.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ Path Array.
285285
"kind": 12,
286286
"tags": [],
287287
"detail": "(\n array<'a>,\n ~target: int,\n ~start: int,\n ~end: int,\n) => array<'a>",
288-
"documentation": null
288+
"documentation": {"kind": "markdown", "value": "\n`copyWithin(array, ~target, ~start, ~end)` copies starting at element `start` in the given array up to but not including `end` to the designated `target` position, returning the resulting array.\n\nBeware this will *mutate* the array.\n\nSee [`Array.copyWithin`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/copyWithin) on MDN.\n\n## Examples\n\n```rescript\nlet arr = [100, 101, 102, 103, 104, 105]\narr->Array.copyWithin(~target=1, ~start=2, ~end=5) == [100, 102, 103, 104, 104, 105]\narr == [100, 102, 103, 104, 104, 105]\n```\n"}
289289
}, {
290290
"label": "toString",
291291
"kind": 12,
@@ -477,7 +477,7 @@ Path Array.
477477
"kind": 12,
478478
"tags": [],
479479
"detail": "(array<'a>, ~target: int, ~start: int) => array<'a>",
480-
"documentation": null
480+
"documentation": {"kind": "markdown", "value": "\n`copyWithinToEnd(array, ~target, ~start)` copies starting at element `start` in the given array to the designated `target` position, returning the resulting array.\n\nBeware this will *mutate* the array.\n\nSee [`Array.copyWithin`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/copyWithin) on MDN.\n\n## Examples\n\n```rescript\nlet arr = [100, 101, 102, 103, 104]\narr->Array.copyWithinToEnd(~target=0, ~start=2) == [102, 103, 104, 103, 104]\narr == [102, 103, 104, 103, 104]\n```\n"}
481481
}, {
482482
"label": "unshift",
483483
"kind": 12,
@@ -525,7 +525,7 @@ Path Array.
525525
"kind": 12,
526526
"tags": [],
527527
"detail": "(array<'a>, ~target: int) => array<'a>",
528-
"documentation": null
528+
"documentation": {"kind": "markdown", "value": "\n`copyAllWithin(array, ~target)` copies from the first element in the given array to the designated `target` position, returning the resulting array.\n\nBeware this will *mutate* the array.\n\nSee [`Array.copyWithin`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/copyWithin) on MDN.\n\n## Examples\n\n```rescript\nlet arr = [100, 101, 102, 103, 104]\narr->Array.copyAllWithin(~target=2) == [100, 101, 100, 101, 102]\narr == [100, 101, 100, 101, 102]\n```\n"}
529529
}, {
530530
"label": "keepSome",
531531
"kind": 12,

0 commit comments

Comments
 (0)