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
22 lines
482 B
Swift
22 lines
482 B
Swift
// RUN: %target-resilience-test
|
|
// REQUIRES: executable_test
|
|
|
|
|
|
import StdlibUnittest
|
|
import struct_remove_property
|
|
|
|
|
|
var StructRemovePropertyTest = TestSuite("StructRemoveProperty")
|
|
|
|
StructRemovePropertyTest.test("RemoveStoredProperty") {
|
|
var dog = RemoveStoredProperty(first: "Barnaby",
|
|
middle: "Winston",
|
|
last: "Fluffington")
|
|
|
|
do {
|
|
expectEqual(dog.name, "Barnaby Winston Fluffington")
|
|
}
|
|
}
|
|
|
|
runAllTests()
|