Skip to content

Commit f9a40c4

Browse files
committed
fix completion tests
1 parent c8b2dc2 commit f9a40c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1951,7 +1951,7 @@ Path this
19511951
"kind": 12,
19521952
"tags": [],
19531953
"detail": "\\\"Type Not Known\"",
1954-
"documentation": {"kind": "markdown", "value": "```rescript\ntype props<'first, 'zoo, 'second> = {\n first?: 'first,\n zoo?: 'zoo,\n second: 'second,\n}\n```"}
1954+
"documentation": null
19551955
}]
19561956

19571957
Hover src/Completion.res 349:14
@@ -2511,7 +2511,7 @@ Path Stdlib.Result.g
25112511
"kind": 12,
25122512
"tags": [],
25132513
"detail": "result<'a, 'b> => 'a",
2514-
"documentation": {"kind": "markdown", "value": "\n Result types are really useful to describe the result of a certain operation\n without relying on exceptions or `option` types.\n\n This module gives you useful utilities to create and combine `Result` data.\n"}
2514+
"documentation": {"kind": "markdown", "value": "\n `getExn(res)`: when `res` is `Ok(n)`, returns `n` when `res` is `Error(m)`, raise an exception\n\n ```res example\n Result.getExn(Result.Ok(42)) == 42\n\n switch Result.getExn(Error(\"Invalid data\")) {\n | exception Not_found => assert(true)\n | _ => assert(false)\n }\n ```\n"}
25152515
}, {
25162516
"label": "Result.getOr",
25172517
"kind": 12,

0 commit comments

Comments
 (0)