mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
It is expected that under enable-private-import internal/private symbols become public. So that symbol-diffing would fail. Disable symbol diffing under that test mode. rdar://51304243
21 lines
477 B
Swift
21 lines
477 B
Swift
// RUN: %target-resilience-test
|
|
// REQUIRES: executable_test
|
|
|
|
import StdlibUnittest
|
|
import class_remove_property
|
|
|
|
|
|
var ClassRemovePropertyTest = TestSuite("ClassRemoveProperty")
|
|
|
|
ClassRemovePropertyTest.test("RemoveStoredProperty") {
|
|
let dog = RemoveStoredProperty(first: "Barnaby",
|
|
middle: "Winston",
|
|
last: "Fluffington")
|
|
|
|
do {
|
|
expectEqual(dog.name, "Barnaby Winston Fluffington")
|
|
}
|
|
}
|
|
|
|
runAllTests()
|