mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
test: adjust Migrator tests (NFCI)
This adjusts the test diffing to ignore the whitespace changes across different platforms. `raw_fd_ostream` will write out `OF_Text` files with the platform's line endings, which may differ from the source file's.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// RUN: %empty-directory(%t)
|
||||
// RUN: %target-swift-frontend -typecheck -update-code -primary-file %s -F %S/mock-sdk -emit-migrated-file-path %t/result.swift -swift-version 4
|
||||
// RUN: diff -u %s.expected %t/result.swift
|
||||
// RUN: diff --strip-trailing-cr -u %s.expected %t/result.swift
|
||||
|
||||
import TestMyTime
|
||||
|
||||
|
||||
Reference in New Issue
Block a user