File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ import Foundation
77 @testable import AppKitBackend
88#endif
99
10- @Suite ( " State -related tests" )
11- struct StateTests {
12- @Test ( " Ensures that basic State operations can be observed " )
13- func testStateObservation ( ) {
10+ @Suite ( " Publisher -related tests" )
11+ struct PublisherTests {
12+ @Test ( " Ensures that basic Publisher operations can be observed " )
13+ func testPublisherObservation ( ) {
1414 class NestedState : SwiftCrossUI . ObservableObject {
1515 @SwiftCrossUI . Published
1616 var count = 0
@@ -65,8 +65,8 @@ struct StateTests {
6565 #if canImport(AppKitBackend)
6666 // TODO: Create mock backend so that this can be tested on all platforms. There's
6767 // nothing AppKit-specific about it.
68- @Test ( " Ensure that State .observeAsUIUpdater throttles observations " )
69- func testThrottledStateObservation ( ) async {
68+ @Test ( " Ensure that Publisher .observeAsUIUpdater throttles observations " )
69+ func testThrottledPublisherObservation ( ) async {
7070 class MyState : SwiftCrossUI . ObservableObject {
7171 @SwiftCrossUI . Published
7272 var count = 0
You can’t perform that action at this time.
0 commit comments