Skip to content

Commit 18ec4ad

Browse files
authored
Merge pull request #17753 from rintaro/sourcekit-rdar40646921-2
[SourceKit] Use "-" as fallback complier argument
2 parents 1c34dbe + 423af2a commit 18ec4ad

File tree

6 files changed

+2686
-16
lines changed

6 files changed

+2686
-16
lines changed

test/SourceKit/DocumentStructure/structure.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,9 @@
66

77
// RUN: %sourcekitd-test -req=structure %S/../Inputs/placeholders.swift | %sed_clean > %t.placeholders.response
88
// RUN: diff -u %s.placeholders.response %t.placeholders.response
9+
10+
// RUN: %sourcekitd-test -req=structure %S/Inputs/main.swift -name -foobar | %sed_clean > %t.foobar.response
11+
// RUN: diff -u %s.foobar.response %t.foobar.response
12+
13+
// RUN: %sourcekitd-test -req=structure -text-input %S/Inputs/main.swift | %sed_clean > %t.empty.response
14+
// RUN: diff -u %s.empty.response %t.empty.response

0 commit comments

Comments
 (0)