Skip to content

Commit 4674485

Browse files
committed
change test
1 parent 344ac5c commit 4674485

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

tests/analysis_tests/tests/src/Completion.res

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ module WithChildren = {
170170
// <WithChildren
171171
// ^com
172172

173-
// type t = n
174-
// ^com
173+
// type t = Null.
174+
// ^com
175175
// type t = ForAuto.
176176
// ^com
177177

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,19 +1098,19 @@ Path WithChildren
10981098
"documentation": null
10991099
}]
11001100

1101-
Complete src/Completion.res 172:13
1102-
posCursor:[172:13] posNoWhite:[172:12] Found type:[172:12->172:13]
1103-
Ptyp_constr n:[172:12->172:13]
1104-
Completable: Cpath Type[n]
1101+
Complete src/Completion.res 172:17
1102+
posCursor:[172:17] posNoWhite:[172:16] Found type:[172:12->172:17]
1103+
Ptyp_constr Null.:[172:12->172:17]
1104+
Completable: Cpath Type[Null, ""]
11051105
Package opens Pervasives.JsxModules.place holder
1106-
ContextPath Type[n]
1107-
Path n
1106+
ContextPath Type[Null, ""]
1107+
Path Null.
11081108
[{
1109-
"label": "nestedObjT",
1109+
"label": "t",
11101110
"kind": 22,
11111111
"tags": [],
1112-
"detail": "type nestedObjT",
1113-
"documentation": {"kind": "markdown", "value": "```rescript\ntype nestedObjT = {\"x\": Objects.nestedObjT}\n```"}
1112+
"detail": "type t",
1113+
"documentation": {"kind": "markdown", "value": "\nA type representing a value that can be either `'a` or `null`.\n\n\n```rescript\n@unboxed\ntype t<'a> = Js.Null.t<'a> = Value('a) | @as(null) Null\n```"}
11141114
}]
11151115

11161116
Complete src/Completion.res 174:20

0 commit comments

Comments
 (0)