mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
test: convert rm -rf && mkdir -p into %empty-directory
This converts the instances of the pattern for which we have a proper substitution in lit. This will make it easier to replace it appropriately with Windows equivalents.
This commit is contained in:
@@ -3,6 +3,6 @@ func testStringConcatenation() {
|
||||
let bornYear = "1888"
|
||||
let _ = "Mr. " + firstName + bornYear
|
||||
}
|
||||
// RUN: rm -rf %t.result && mkdir -p %t.result
|
||||
// RUN: %empty-directory(%t.result)
|
||||
// RUN: %refactor -strings-concatenation-to-interpolation -source-filename %s -pos=4:11 -end-pos=4:40 > %t.result/L4.swift
|
||||
// RUN: diff -u %S/Outputs/basic/L4.swift.expected %t.result/L4.swift
|
||||
|
||||
Reference in New Issue
Block a user