Skip to content

Commit c928dc0

Browse files
committed
analysis test snapshots
1 parent 9db4c9c commit c928dc0

File tree

4 files changed

+43
-3
lines changed

4 files changed

+43
-3
lines changed

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1988,6 +1988,26 @@ Path Res
19881988
"tags": [],
19891989
"detail": "module Result",
19901990
"documentation": null
1991+
}, {
1992+
"label": "RescriptReactErrorBoundary",
1993+
"kind": 9,
1994+
"tags": [],
1995+
"detail": "module RescriptReactErrorBoundary",
1996+
"documentation": null,
1997+
"data": {
1998+
"modulePath": "RescriptReactErrorBoundary",
1999+
"filePath": "src/Completion.res"
2000+
}
2001+
}, {
2002+
"label": "RescriptReactRouter",
2003+
"kind": 9,
2004+
"tags": [],
2005+
"detail": "module RescriptReactRouter",
2006+
"documentation": null,
2007+
"data": {
2008+
"modulePath": "RescriptReactRouter",
2009+
"filePath": "src/Completion.res"
2010+
}
19912011
}, {
19922012
"label": "RescriptTools",
19932013
"kind": 9,
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Hover src/Fragment.res 6:19
2-
{"contents": {"kind": "markdown", "value": "```rescript\nReact.component<SectionHeader.props<React.element>>\n```\n\n---\n\n```\n \n```\n```rescript\ntype React.component<'props> = Jsx.component<'props>\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22React.res%22%2C12%2C0%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype SectionHeader.props<'children> = {children: 'children}\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22Fragment.res%22%2C1%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype React.element = Jsx.element\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22React.res%22%2C0%2C0%5D)\n"}}
2+
{"contents": {"kind": "markdown", "value": "```rescript\nReact.component<SectionHeader.props<React.element>>\n```\n\n---\n\n```\n \n```\n```rescript\ntype React.component<'props> = Jsx.component<'props>\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22React.res%22%2C13%2C0%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype SectionHeader.props<'children> = {children: 'children}\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22Fragment.res%22%2C1%2C2%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype React.element = Jsx.element\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22React.res%22%2C0%2C0%5D)\n"}}
33

44
Hover src/Fragment.res 9:56
5-
{"contents": {"kind": "markdown", "value": "```rescript\nReact.component<React.fragmentProps>\n```"}}
5+
{"contents": {"kind": "markdown", "value": "```rescript\nReact.component<React.fragmentProps>\n```\n\n---\n\n```\n \n```\n```rescript\ntype React.component<'props> = Jsx.component<'props>\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22React.res%22%2C13%2C0%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype React.fragmentProps = {children?: element}\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22React.res%22%2C42%2C0%5D)\n"}}
66

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Path M4.make
1717
}]
1818

1919
Hover src/JsxV4.res 14:9
20-
{"contents": {"kind": "markdown", "value": "```rescript\nReact.component<M4.props<string, string, string>>\n```\n---\n Doc Comment For M4 \n\n---\n\n```\n \n```\n```rescript\ntype React.component<'props> = Jsx.component<'props>\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22React.res%22%2C12%2C0%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype M4.props<'first, 'fun, 'second> = {\n first: 'first,\n fun?: 'fun,\n second?: 'second,\n}\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxV4.res%22%2C3%2C2%5D)\n"}}
20+
{"contents": {"kind": "markdown", "value": "```rescript\nReact.component<M4.props<string, string, string>>\n```\n---\n Doc Comment For M4 \n\n---\n\n```\n \n```\n```rescript\ntype React.component<'props> = Jsx.component<'props>\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22React.res%22%2C13%2C0%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype M4.props<'first, 'fun, 'second> = {\n first: 'first,\n fun?: 'fun,\n second?: 'second,\n}\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22JsxV4.res%22%2C3%2C2%5D)\n"}}
2121

2222
Create Interface src/JsxV4.res
2323
module M4: {

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,26 @@ Path Res
2121
"tags": [],
2222
"detail": "module Result",
2323
"documentation": null
24+
}, {
25+
"label": "RescriptReactErrorBoundary",
26+
"kind": 9,
27+
"tags": [],
28+
"detail": "module RescriptReactErrorBoundary",
29+
"documentation": null,
30+
"data": {
31+
"modulePath": "RescriptReactErrorBoundary",
32+
"filePath": "src/RecoveryOnProp.res"
33+
}
34+
}, {
35+
"label": "RescriptReactRouter",
36+
"kind": 9,
37+
"tags": [],
38+
"detail": "module RescriptReactRouter",
39+
"documentation": null,
40+
"data": {
41+
"modulePath": "RescriptReactRouter",
42+
"filePath": "src/RecoveryOnProp.res"
43+
}
2444
}, {
2545
"label": "RescriptTools",
2646
"kind": 9,

0 commit comments

Comments
 (0)