Fixed: Wait for the bundle load to finish with the new async bundle load function

This commit is contained in:
Martin Carlberg committed 2021-09-17 21:55:48 +02:00
1 parent 2f00d93b22
commit 511e18b44f
1 file changed
+2 -2
+2 -2
View File
@@ -8,10 +8,10 @@ var methodsCalled;
CPBundle bundle;
}
- (void)setUp
- (async void)setUp
{
bundle = [CPBundle bundleWithPath:@"Tests/AppKit/BundleTest"];
[bundle loadWithDelegate:self];
await [bundle loadWithDelegate:self];
}
- (void)bundleDidFinishLoading:(CPBundle)aBundle