Skip to content

Commit 66fa6b9

Browse files
committed
update tests
1 parent c862317 commit 66fa6b9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Diff for: analysis/tests/src/expected/Hover.res.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ Hover src/Hover.res 46:10
3939
{"contents": {"kind": "markdown", "value": "```rescript\nint\n```"}}
4040

4141
Hover src/Hover.res 49:13
42-
{"contents": {"kind": "markdown", "value": "```rescript\nmodule Logger = {\n let log: string => unit\n}\n```"}}
42+
{"contents": {"kind": "markdown", "value": "```rescript\nmodule type Logger = {\n let log: string => unit\n}\n```"}}
4343

4444
Hover src/Hover.res 54:7
45-
{"contents": {"kind": "markdown", "value": "```rescript\nmodule Logger = {\n let log: string => unit\n}\n```"}}
45+
{"contents": {"kind": "markdown", "value": "```rescript\nmodule type Logger = {\n let log: string => unit\n}\n```"}}
4646

4747
Definition src/Hover.res 60:14
4848
{"uri": "Hover.res", "range": {"start": {"line": 49, "character": 12}, "end": {"line": 49, "character": 18}}}
@@ -172,8 +172,8 @@ Completable: Cpath Value[usr]
172172
{"contents": {"kind": "markdown", "value": "```rescript\nuseR\n```\n\n---\n\n```\n \n```\n```rescript\ntype useR = {x: int, y: list<option<r<float>>>}\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22Hover.res%22%2C200%2C0%5D)\n\n\n---\n\n```\n \n```\n```rescript\ntype r<'a> = {i: 'a, f: float}\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22Hover.res%22%2C101%2C0%5D)\n"}}
173173

174174
Hover src/Hover.res 230:20
175-
{"contents": "```rescript\nint\n```\n\n More Stuff "}
175+
{"contents": {"kind": "markdown", "value": "```rescript\nint\n```\n\n More Stuff "}}
176176

177177
Hover src/Hover.res 233:17
178-
{"contents": "```rescript\nint\n```\n\n More Stuff "}
178+
{"contents": {"kind": "markdown", "value": "```rescript\nint\n```\n\n More Stuff "}}
179179

Diff for: analysis/tests/src/expected/JsxV4.res.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ Completable: Cjsx([M4], f, [first, f])
1414
}]
1515

1616
Hover src/JsxV4.res 14:9
17-
{"contents": "```rescript\nReact.component<M4.props<string, string, string>>\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```\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\n---\n\n\n Doc Comment For M4 "}
17+
{"contents": {"kind": "markdown", "value": "```rescript\nReact.component<M4.props<string, string, string>>\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 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\n\n Doc Comment For M4 "}}
1818

0 commit comments

Comments
 (0)