Files
swift-mirror/test/SourceKit/CursorInfo/invalid_offset.swift
Rintaro Ishizaki 18e0a5ce36 [SourceKit] Disable invalid_offset.swift on Linux (#15005)
This test seems occasionally fail on Linux.
Disable it while we investigate it.
2018-03-06 11:53:22 +09:00

16 lines
369 B
Swift

let a = 12
// rdar://problem/30346106
// Invalid offset should trigger a crash.
// RUN: %sourcekitd-test \
// RUN: -req=open %s -- %s == \
// RUN: -req=edit -async -offset=0 -length=200 -replace='' %s -- %s == \
// RUN: -req=cursor -offset=250 %s -- %s \
// RUN: | %FileCheck %s
// rdar://problem/38162017
// REQUIRES: OS=macosx
// CHECK: <empty cursor info>