Skip to content

Commit b206819

Browse files
harlanhaskinsHarlan Haskins
authored andcommitted
Fix tests
1 parent e36f429 commit b206819

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

test/Sema/extension_retroactive_conformances_package.swift

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// RUN: %empty-directory(%t)
22
// RUN: split-file %s %t
3-
// RUN: %target-swift-frontend -swift-version 5 %t/OtherLibrary.swift -package-name Library -emit-module -module-name OtherLibrary -package-name Library -o %t
4-
// RUN: %target-swift-frontend -typecheck %t/Library.swift -module-name Library -package-name Library -verify -swift-version 5 -import-underlying-module -I %t
5-
// RUN: %target-swift-frontend -typecheck %t/Client.swift -module-name Client -package-name Library -verify -swift-version 5 -I %t
3+
4+
// RUN: %target-swift-frontend -swift-version 5 %t/Library.swift -emit-module -module-name Library -o %t -package-name Library
5+
// RUN: %target-swift-frontend -swift-version 5 %t/OtherLibrary.swift -emit-module -module-name OtherLibrary -o %t -package-name Library
6+
// RUN: %target-swift-frontend -typecheck %t/Client.swift -module-name Client -verify -swift-version 5 -I %t -package-name Library
67

78
//--- Library.swift
89

@@ -12,15 +13,16 @@ package class PackageLibraryClass {}
1213
package protocol PackageLibraryProtocol {}
1314

1415
//--- OtherLibrary.swift
16+
1517
public class OtherLibraryClass {}
1618
public protocol OtherLibraryProtocol {}
1719
package class PackageOtherLibraryClass {}
1820
package protocol PackageOtherLibraryProtocol {}
1921

2022
//--- Client.swift
2123

22-
// package import Library
23-
// package import OtherLibrary
24+
package import Library
25+
package import OtherLibrary
2426

2527
// These are all fine because all 3 of these modules are in the same package.
2628

0 commit comments

Comments
 (0)