Skip to content

Commit afb1eec

Browse files
committed
Gardening: Migrate test suite to GH issues: validation-test/IDE
1 parent 763df18 commit afb1eec

19 files changed

+38
-1
lines changed

validation-test/IDE/crashers_2_fixed/0014-sr4560.swift renamed to validation-test/IDE/crashers_2_fixed/0014-issue-47137.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-swift-ide-test -code-completion -code-completion-token=A -source-filename=%s
22

3+
// https://github.com/apple/swift/issues/47137
4+
35
protocol MyDelegate: AnyObject {
46
func mySweetDelegateFunction()
57
}

validation-test/IDE/crashers_2_fixed/sr8471.swift renamed to validation-test/IDE/crashers_2_fixed/issue-50992.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-swift-ide-test -code-completion -code-completion-token=COMPLETE -source-filename=%s
22

3+
// https://github.com/apple/swift/issues/50992
4+
35
public func headers() -> [AnyHashable: String]? { fatalError() }
46
public var httpAdditionalHeaders: [AnyHashable : Any]?
57

Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-swift-ide-test -code-completion -code-completion-token=COMPLETE -source-filename=%s
22

3+
// https://github.com/apple/swift/issues/51072
4+
35
extension UnknownTy {
46
var #^COMPLETE^#
57
}

validation-test/IDE/crashers_2_fixed/sr8568.swift renamed to validation-test/IDE/crashers_2_fixed/issue-51086.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// RUN: %target-swift-ide-test -code-completion -code-completion-token=COMPLETE -source-filename=%s
22

3+
// https://github.com/apple/swift/issues/51086
34

45
struct S<T> {}
56
func use<T>(x: (S<T>) -> Void) {}

validation-test/IDE/crashers_2_fixed/sr9001.swift renamed to validation-test/IDE/crashers_2_fixed/issue-51504.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// RUN: %target-swift-ide-test -code-completion -code-completion-token=COMPLETE_1 -source-filename=%s
22
// RUN: %target-swift-ide-test -code-completion -code-completion-token=COMPLETE_2 -source-filename=%s
33

4+
// https://github.com/apple/swift/issues/51504
5+
46
struct MyStruct<T> {
57
}
68

validation-test/IDE/crashers_2_fixed/sr14494.swift renamed to validation-test/IDE/crashers_2_fixed/issue-56849.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-swift-ide-test -code-completion -code-completion-token=COMPLETE -source-filename=%s | %FileCheck %s
22

3+
// https://github.com/apple/swift/issues/56849
4+
35
protocol MyView {
46
associatedtype Body : MyView
57
@MyViewBuilder var body: Self.Body { get }
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %swift-ide-test -code-completion -source-filename %s -code-completion-token=COMPLETE
22

3+
// https://github.com/apple/swift/issues/57037
4+
35
class Foo {
46
let searchSubject = Bar<String, #^COMPLETE^#
57
}

validation-test/IDE/crashers_2_fixed/sr14693.swift renamed to validation-test/IDE/crashers_2_fixed/issue-57043.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %swift-ide-test -code-completion -source-filename %s -code-completion-token=COMPLETE
22

3+
// https://github.com/apple/swift/issues/57043
4+
35
@resultBuilder public struct ViewBuilder2 {
46
public static func buildBlock<Content>(_ content: Content) -> Never
57
}

validation-test/IDE/crashers_2_fixed/sr14704.swift renamed to validation-test/IDE/crashers_2_fixed/issue-57054.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %swift-ide-test --code-completion --source-filename %s --code-completion-token=COMPLETE
22

3+
// https://github.com/apple/swift/issues/57054
4+
35
@resultBuilder struct ViewBuilder2 {
46
static func buildBlock() -> Never { fatalError() }
57
static func buildBlock<Content>(_ content: Content) -> Content where Content : View2 { fatalError() }

validation-test/IDE/crashers_2_fixed/sr14709.swift renamed to validation-test/IDE/crashers_2_fixed/issue-57059.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %swift-ide-test --code-completion --source-filename %s --code-completion-token=CC
22

3+
// https://github.com/apple/swift/issues/57059
4+
35
struct Listing {}
46

57
protocol View2 {}

0 commit comments

Comments
 (0)