Skip to content

Commit 05edf5f

Browse files
committed
NSBundles changes to rename mainBundle to main
1 parent c82928c commit 05edf5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/XCTest/XCTestMain.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
observationCenter.addTestObserver(PrintObserver())
5656

5757
// Announce that the test bundle will start executing.
58-
let testBundle = NSBundle.mainBundle()
58+
let testBundle = NSBundle.main()
5959
observationCenter.testBundleWillStart(testBundle)
6060

6161
// Apple XCTest behaves differently if tests have been filtered:

0 commit comments

Comments
 (0)