Files
swift-mirror/test/refactoring/rename/property.swift
Argyrios Kyrtzidis 60a91bb736 [refactoring] Upstreaming the implementation for Swift local refactoring (#11568)
[refactoring] Upstreaming the implementation for Swift local refactoring
2017-08-22 16:50:16 -07:00

9 lines
315 B
Swift

var foo: String {
let name = "white"
return name
}
// RUN: rm -rf %t.result && mkdir -p %t.result
// RUN: %refactor -find-local-rename-ranges -source-filename %s -pos=2:7 > %t.result/computed_property.swift
// RUN: diff -u %S/Outputs/property/computed_property.swift.expected %t.result/computed_property.swift