We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1b376cd + 51a75b7 commit 9d4341eCopy full SHA for 9d4341e
test/SourceKit/CursorInfo/invalid_offset.swift
@@ -1,15 +1,12 @@
1
let a = 12
2
3
// rdar://problem/30346106
4
-// Invalid offset should trigger a crash.
+// Invalid offset should not trigger a crash.
5
6
// RUN: not %sourcekitd-test 2>&1 \
7
// RUN: -req=open %s -- %s == \
8
// RUN: -req=edit -async -offset=0 -length=200 -replace='' %s -- %s == \
9
-// RUN: -req=cursor -offset=250 %s -- %s \
10
-// RUN: | %FileCheck %s
+// RUN: -req=cursor -offset=250 %s -- %s
11
12
// rdar://problem/38162017
13
// REQUIRES: OS=macosx
14
-
15
-// CHECK: (Request Failed): Unable to resolve the start of the token
0 commit comments