mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This adjusts the tests for the difference between line endings on different platforms. Windows uses CRLF while most Unicies use LF. This was exposed during the update to the new LLVM snapshot.
3 lines
171 B
Swift
3 lines
171 B
Swift
// RUN: %sourcekitd-test -req=syntax-map -pos=4:10 -replace="Bar" %S/Inputs/syntaxmap-edit.swift > %t.response
|
|
// RUN: diff --strip-trailing-cr -u %s.response %t.response
|