Skip to content

Commit 9d4341e

Browse files
authored
Merge pull request #34657 from benlangmuir/fix-cursor-test
[test] Fix test/SourceKit/CursorInfo/invalid_offset
2 parents 1b376cd + 51a75b7 commit 9d4341e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
let a = 12
22

33
// rdar://problem/30346106
4-
// Invalid offset should trigger a crash.
4+
// Invalid offset should not trigger a crash.
55

66
// RUN: not %sourcekitd-test 2>&1 \
77
// RUN: -req=open %s -- %s == \
88
// RUN: -req=edit -async -offset=0 -length=200 -replace='' %s -- %s == \
9-
// RUN: -req=cursor -offset=250 %s -- %s \
10-
// RUN: | %FileCheck %s
9+
// RUN: -req=cursor -offset=250 %s -- %s
1110

1211
// rdar://problem/38162017
1312
// REQUIRES: OS=macosx
14-
15-
// CHECK: (Request Failed): Unable to resolve the start of the token

0 commit comments

Comments
 (0)