Skip to content

Commit 38a93a4

Browse files
committed
Remove source-level @res.partial in test files.
1 parent 682e157 commit 38a93a4

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

tests/analysis_tests/tests/src/CompletionFunctionArguments.res

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ let tLocalVar = false
1717
// let _ = someFn(~isOff=)
1818
// ^com
1919

20-
let _ = @res.partial someFn(
20+
let _ = someFn(
2121
~isOn={
2222
// switch someFn(~isOn=)
2323
// ^com
2424
true
25-
},
25+
}, ...
2626
)
2727

2828
let someOtherFn = (includeName, age, includeAge) => {

tests/analysis_tests/tests/src/Highlight.res

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ let foo = x => x.T.someField
6969

7070
let add = (~hello as x, ~world) => x + world
7171

72-
let _ = @res.partial add(~hello=3)
72+
let _ = add(~hello=3, ...)
7373

7474
let _ = <div scale="abc"> <div /> </div>
7575

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ Path someFn
6666
}]
6767

6868
Complete src/CompletionFunctionArguments.res 21:27
69-
posCursor:[21:27] posNoWhite:[21:26] Found expr:[19:21->25:1]
70-
Pexp_apply ...[19:21->19:27] (~isOn20:3->20:7=...[21:7->23:8])
69+
posCursor:[21:27] posNoWhite:[21:26] Found expr:[19:8->25:1]
70+
Pexp_apply ...[19:8->19:14] (~isOn20:3->20:7=...[21:7->23:8])
7171
posCursor:[21:27] posNoWhite:[21:26] Found expr:[21:7->23:8]
7272
posCursor:[21:27] posNoWhite:[21:26] Found expr:[21:7->21:28]
7373
posCursor:[21:27] posNoWhite:[21:26] Found expr:[21:14->21:28]

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Variable: x [69:21->69:22]
8181
Variable: world [69:24->69:30]
8282
Lident: x 69:35 Variable
8383
Lident: world 69:39 Variable
84-
Lident: add 71:21 Variable
84+
Lident: add 71:8 Variable
8585
JsxTag <: 73:8
8686
Lident: div 73:9 JsxLowercase
8787
Lident: div 73:36 JsxLowercase

0 commit comments

Comments
 (0)