Files
swift-mirror/test/Migrator/insert_replace_fixit.swift.expected
Saleem Abdulrasool f12f0ccd01 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.
2020-01-13 18:45:45 -08:00

15 lines
440 B
Plaintext

// 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 --strip-trailing-cr -u %s.expected %t/result.swift
import TestMyTime
let zero = MyTime.z
let _ = MyTime.add(this: MyTime.z, that: MyTime.z)
let _ = MyTime.add(
this: MyTime.z, that: MyTime.z)
let _ = MyTime.add(
this: MyTime.z,
that: MyTime.z)