You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Tests/SwiftDriverTests/SwiftDriverTests.swift
+11-10Lines changed: 11 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -690,25 +690,26 @@ final class SwiftDriverTests: XCTestCase {
690
690
}
691
691
692
692
func testPackageNameFlag()throws{
693
-
// -package-name mypkg (valid string)
694
-
tryassertNoDriverDiagnostics(args:"swiftc","file.swift","bar.swift","-module-name","MyModule","-package-name","mypkg","-emit-module","-emit-module-path","../../path/to/MyModule.swiftmodule"){ driver in
695
-
XCTAssertEqual(driver.packageName,"mypkg")
693
+
// -package-name com.perf.my-pkg (valid string)
694
+
tryassertNoDriverDiagnostics(args:"swiftc","file.swift","bar.swift","-module-name","MyModule","-package-name","com.perf.my-pkg","-emit-module","-emit-module-path","../../path/to/MyModule.swiftmodule"){ driver in
0 commit comments