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:
Saleem Abdulrasool
2020-01-13 17:27:18 -08:00
parent 6c29939f59
commit f12f0ccd01
12 changed files with 14 additions and 14 deletions

View File

@@ -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