File tree Expand file tree Collapse file tree 1 file changed +4
-15
lines changed
Tests/CapacitorPluginToolsTests Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -20,21 +20,21 @@ struct PackageFileGeneratorTests {
2020
2121 let package = Package(
2222 name: " CapacitorAppPlugin " ,
23- platforms: [.iOS(.v13 )],
23+ platforms: [.iOS(.v14 )],
2424 products: [
2525 .library(
2626 name: " AppPlugin " ,
2727 targets: [ " AppPlugin " ])
2828 ],
2929 dependencies: [
30- .package(url: " https://github.com/ionic-team/capacitor6-spm-test .git " , branch : " main " )
30+ .package(url: " https://github.com/ionic-team/capacitor-swift-pm .git " , from : " 7.0.0 " )
3131 ],
3232 targets: [
3333 .target(
3434 name: " AppPlugin " ,
3535 dependencies: [
36- .product(name: " Capacitor " , package: " capacitor6-spm-test " ),
37- .product(name: " Cordova " , package: " capacitor6-spm-test " )
36+ .product(name: " Capacitor " , package: " capacitor-swift-pm " ),
37+ .product(name: " Cordova " , package: " capacitor-swift-pm " )
3838 ],
3939 path: " ios/Sources/AppPlugin " ),
4040 .testTarget(
@@ -45,14 +45,3 @@ struct PackageFileGeneratorTests {
4545 )
4646 """
4747}
48-
49- //@testable import cap2spm
50- //import XCTest
51- //
52- //class GeneratePackageFileTests: XCTestCase {
53- // func testPackageGen() {
54- // let packageFile = GeneratePackageFile(packageName: "CapacitorAppPlugin", libName: "AppPlugin")
55- //
56- // XCTAssertEqual(packageFile.packageText, expected)
57- // }
58- //}
You can’t perform that action at this time.
0 commit comments