1
1
//
2
- // ChangedBodyPropertyTests .swift
2
+ // ChangedBodyPropertyCompatibilityTests .swift
3
3
// OpenSwiftUICompatibilityTests
4
4
5
5
#if canImport(Darwin) && !OPENSWIFTUI_SWIFT_LOG
@@ -8,7 +8,7 @@ import OSLog
8
8
import OpenSwiftUITestsSupport
9
9
10
10
@MainActor
11
- struct ChangedBodyPropertyTests {
11
+ struct ChangedBodyPropertyCompatibilityTests {
12
12
@available ( iOS 15 , macOS 12 , * )
13
13
private func verifyLog( expected: String ) throws {
14
14
let store = try OSLogStore ( scope: . currentProcessIdentifier)
@@ -38,7 +38,7 @@ struct ChangedBodyPropertyTests {
38
38
}
39
39
let vc = PlatformHostingController ( rootView: ContentView ( ) )
40
40
vc. triggerLayout ( )
41
- try verifyLog ( expected: " ChangedBodyPropertyTests .ContentView: @self changed." )
41
+ try verifyLog ( expected: " ChangedBodyPropertyCompatibilityTests .ContentView: @self changed." )
42
42
withExtendedLifetime ( vc) { }
43
43
}
44
44
@@ -56,7 +56,7 @@ struct ChangedBodyPropertyTests {
56
56
}
57
57
let vc = PlatformHostingController ( rootView: ContentView ( ) )
58
58
vc. triggerLayout ( )
59
- try verifyLog ( expected: " ChangedBodyPropertyTests .ContentView: @self changed." )
59
+ try verifyLog ( expected: " ChangedBodyPropertyCompatibilityTests .ContentView: @self changed." )
60
60
withExtendedLifetime ( vc) { }
61
61
}
62
62
@@ -74,7 +74,7 @@ struct ChangedBodyPropertyTests {
74
74
}
75
75
let vc = PlatformHostingController ( rootView: ContentView ( ) )
76
76
vc. triggerLayout ( )
77
- try verifyLog ( expected: " ChangedBodyPropertyTests .ContentView: @self, @identity, _name changed." )
77
+ try verifyLog ( expected: " ChangedBodyPropertyCompatibilityTests .ContentView: @self, @identity, _name changed." )
78
78
withExtendedLifetime ( vc) { }
79
79
}
80
80
}
0 commit comments