Skip to content

Commit cedae63

Browse files
committed
Promote tests
1 parent 367adaa commit cedae63

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

tests/test-dirs/function-recovery.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
None
3636
expression (test.ml[3,104+11]..test.ml[3,104+28])
3737
Texp_function
38-
alloc_mode id(modevar#c[global,many,portable .. local,once,nonportable]);id(modevar#d[aliased,contended .. unique,uncontended])
38+
alloc_mode id(modevar#d[global,many,portable .. local,once,nonportable]);id(modevar#e[aliased,contended .. unique,uncontended])
3939
[]
4040
Tfunction_body
4141
expression (test.ml[3,104+11]..test.ml[3,104+28])

tests/test-dirs/occurrences/project-wide/punning.t/run.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ Convenience function for querying occurrences
1717

1818
Get occurrences of an identifier that is used as the expression part of a punned let
1919
expression
20-
FIXME: this should also include the occurrence on line 6 of usages.ml
2120
$ occurrences definitions.ml 1:4
2221
$TESTCASE_ROOT/definitions.ml 1:4-5
22+
$TESTCASE_ROOT/usages.ml 6:7-8
2323

2424
Get occurrences, with the cursor pointing at the identifier in a punned let.
2525
Merlin returns the occurrences of the new variable bound in that let, rather than the

tests/test-dirs/search/search-by-type.t/run.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
"constructible": "Hashtbl.replace_seq _ _"
199199
},
200200
{
201-
"file": "ocaml/stdlib/either.mli",
201+
"file": "stdlib/either.mli",
202202
"start": {
203203
"line": 86,
204204
"col": 0

tests/test-dirs/type-enclosing/underscore-ids.t

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -382,16 +382,16 @@ We try several places in the identifier to check the result stability
382382
<def>
383383
pattern (under.ml[2,13+4]..under.ml[2,13+5])
384384
Tpat_var \"f/276\"
385-
value_mode meet(local,once,nonportable)(modevar#2[global,many,portable .. global,many,nonportable]);join(aliased,contended)(modevar#3[aliased,uncontended .. unique,uncontended])
385+
value_mode meet(local,once,nonportable)(modevar#3[global,many,portable .. global,many,nonportable]);join(aliased,contended)(modevar#4[aliased,uncontended .. unique,uncontended])
386386
expression (under.ml[2,13+6]..under.ml[5,70+17]) ghost
387387
Texp_function
388-
alloc_mode map_comonadic(regional_to_global)(modevar#4[global,many,portable .. global,many,nonportable]);id(modevar#5[aliased,contended .. unique,uncontended])
388+
alloc_mode map_comonadic(regional_to_global)(modevar#5[global,many,portable .. global,many,nonportable]);id(modevar#6[aliased,contended .. unique,uncontended])
389389
[
390390
Nolabel
391391
Param_pat
392392
pattern (under.ml[2,13+6]..under.ml[2,13+9])
393393
Tpat_var \"x/278\"
394-
value_mode map_comonadic(local_to_regional)(modevar#6[global,many,portable .. local,once,nonportable]);join(aliased,contended)(modevar#7[aliased,contended .. unique,uncontended])
394+
value_mode map_comonadic(local_to_regional)(modevar#7[global,many,portable .. local,once,nonportable]);join(aliased,contended)(modevar#8[aliased,contended .. unique,uncontended])
395395
]
396396
Tfunction_body
397397
expression (under.ml[2,13+18]..under.ml[5,70+17])

tests/test-dirs/typing-recovery.t

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ make sure we also handle that correctly in structures:
594594
None
595595
]
596596
Tpat_var \"foo2/276\"
597-
value_mode meet(local,once,nonportable)(modevar#2[global,many,portable .. global,many,nonportable]);join(aliased,contended)(modevar#3[aliased,uncontended .. unique,uncontended])
597+
value_mode meet(local,once,nonportable)(modevar#3[global,many,portable .. global,many,nonportable]);join(aliased,contended)(modevar#4[aliased,uncontended .. unique,uncontended])
598598
expression (test_ct.ml[3,20+24]..test_ct.ml[3,20+28])
599599
extra
600600
Texp_constraint
@@ -613,7 +613,7 @@ make sure we also handle that correctly in structures:
613613
]
614614
alloc_const_option_mode None,None,None,None,None
615615
Texp_tuple
616-
alloc_mode meet(local,once,nonportable,map_comonadic(regional_to_global)(modevar#2[global,many,portable .. global,many,nonportable]));unique,uncontended
616+
alloc_mode meet(local,once,nonportable,map_comonadic(regional_to_global)(modevar#3[global,many,portable .. global,many,nonportable]));unique,uncontended
617617
[
618618
Label: None
619619
expression (test_ct.ml[3,20+24]..test_ct.ml[3,20+25])
@@ -643,7 +643,7 @@ make sure we also handle that correctly in structures:
643643
[]
644644
]
645645
Tpat_var \"foo3/277\"
646-
value_mode meet(local,once,nonportable)(modevar#4[global,many,portable .. global,many,nonportable]);join(aliased,contended)(modevar#5[aliased,uncontended .. unique,uncontended])
646+
value_mode meet(local,once,nonportable)(modevar#6[global,many,portable .. global,many,nonportable]);join(aliased,contended)(modevar#7[aliased,uncontended .. unique,uncontended])
647647
expression (test_ct.ml[5,50+23]..test_ct.ml[5,50+27])
648648
extra
649649
Texp_constraint
@@ -662,7 +662,7 @@ make sure we also handle that correctly in structures:
662662
]
663663
alloc_const_option_mode None,None,None,None,None
664664
Texp_tuple
665-
alloc_mode meet(local,once,nonportable,map_comonadic(regional_to_global)(modevar#4[global,many,portable .. global,many,nonportable]));unique,uncontended
665+
alloc_mode meet(local,once,nonportable,map_comonadic(regional_to_global)(modevar#6[global,many,portable .. global,many,nonportable]));unique,uncontended
666666
[
667667
Label: None
668668
expression (test_ct.ml[5,50+23]..test_ct.ml[5,50+24])

0 commit comments

Comments
 (0)