Skip to content

Commit c684fbb

Browse files
committed
clearer example
1 parent 4fe43bd commit c684fbb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

analysis/tests/src/CompletionExpressions.res

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ ignore(fff)
197197
// fff.someOpt
198198
// ^com
199199

200-
@editor.templateVariableName("someTyp")
200+
@editor.templateVariableName("otherNameForType")
201201
type someTyp = {test: bool}
202202

203203
let takesCb = cb => {

analysis/tests/src/expected/CompletionExpressions.res.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -883,13 +883,13 @@ ContextPath CArgument Value[takesCb]($0)
883883
ContextPath Value[takesCb]
884884
Path takesCb
885885
[{
886-
"label": "someTyp => {}",
886+
"label": "otherNameForType => {}",
887887
"kind": 12,
888888
"tags": [],
889889
"detail": "someTyp => 'a",
890890
"documentation": null,
891891
"sortText": "A",
892-
"insertText": "${1:someTyp} => {$0}",
892+
"insertText": "${1:otherNameForType} => {$0}",
893893
"insertTextFormat": 2
894894
}]
895895

0 commit comments

Comments
 (0)