We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 44e1ff7 + 05edf5f commit 446bc73Copy full SHA for 446bc73
Sources/XCTest/XCTestMain.swift
@@ -50,7 +50,7 @@
50
/// - Parameter testCases: An array of test cases run, each produced by a call to the `testCase` function
51
/// - seealso: `testCase`
52
@noreturn public func XCTMain(_ testCases: [XCTestCaseEntry]) {
53
- let testBundle = NSBundle.mainBundle()
+ let testBundle = NSBundle.main()
54
55
let executionMode = ArgumentParser().executionMode
56
0 commit comments