Skip to content

Commit ced1c2b

Browse files
committed
test: repair the SourceKit test for Windows (NFC)
Ignore the line ending as in the rest of the SourceKit tests.
1 parent 8e8d195 commit ced1c2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/SourceKit/CodeComplete/complete_typerelation.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ func testUnknown() {
3131
}
3232

3333
// RUN: %sourcekitd-test -req=complete -pos=13:17 %s -- %s > %t.identical.response
34-
// RUN: diff -u %s.identical.response %t.identical.response
34+
// RUN: diff --strip-trailing-cr -u %s.identical.response %t.identical.response
3535

3636
// RUN: %sourcekitd-test -req=complete -pos=17:17 %s -- %s > %t.convertible.response
37-
// RUN: diff -u %s.convertible.response %t.convertible.response
37+
// RUN: diff --strip-trailing-cr -u %s.convertible.response %t.convertible.response
3838

3939
// RUN: %empty-directory(%t/cache)
4040
// RUN: %sourcekitd-test -req=complete.cache.ondisk -cache-path %t/cache == -req=complete -pos=21:10 %s -- %s | %FileCheck %s --check-prefix=BOOLCONTEXT

0 commit comments

Comments
 (0)