mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The code goes into its own sub-tree under 'tools' but tests go under 'test', so that running 'check-swift' will also run all the SourceKit tests. SourceKit is disabled on non-darwin platforms.
10 lines
273 B
Swift
10 lines
273 B
Swift
|
|
{
|
|
|
|
print("hello")
|
|
|
|
// RUN: %sourcekitd-test -req=open %s -- %s == -req=edit -pos=3:5 -replace="}" -length=0 %s == \
|
|
// RUN: -req=edit -pos=3:1 -replace="}" -length=5 %s == \
|
|
// RUN: -req=print-annotations %s > %t.response
|
|
// RUN: diff -u %s.response %t.response
|