Skip to content

Commit 3963215

Browse files
committed
test: adapt test for windows
1 parent 179ed61 commit 3963215

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

tests/test-dirs/locate/issue949.t

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,15 @@ This test is for testing the behavior of identifiers with a . in them:
77
> EOF
88

99
$ $MERLIN single locate -look-for ml -position 2:16 \
10-
> -filename ./main.ml < ./main.ml | jq '.value'
10+
> -filename ./main.ml < ./main.ml | jq '.value.pos'
1111
{
12-
"file": "$TESTCASE_ROOT/main.ml",
13-
"pos": {
14-
"line": 1,
15-
"col": 22
16-
}
12+
"line": 1,
13+
"col": 22
1714
}
1815

1916
$ $MERLIN single locate -look-for ml -position 3:14 \
20-
> -filename ./main.ml < ./main.ml | jq '.value'
17+
> -filename ./main.ml < ./main.ml | jq '.value.pos'
2118
{
22-
"file": "$TESTCASE_ROOT/main.ml",
23-
"pos": {
24-
"line": 1,
25-
"col": 22
26-
}
19+
"line": 1,
20+
"col": 22
2721
}

0 commit comments

Comments
 (0)