Skip to content

Commit 6aa9be2

Browse files
committed
Look for registries configuration at .swiftpm/configuration/registries.json
1 parent 050909a commit 6aa9be2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tests/CommandsTests/PackageRegistryToolTests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ final class PackageRegistryToolTests: XCTestCase {
5151
func testLocalConfiguration() throws {
5252
fixture(name: "DependencyResolution/External/Simple") { prefix in
5353
let packageRoot = prefix.appending(component: "Bar")
54-
let configurationFilePath = packageRoot.appending(RelativePath(".swiftpm/config/registries.json"))
54+
let configurationFilePath = packageRoot.appending(RelativePath(".swiftpm/configuration/registries.json"))
5555

5656
XCTAssertFalse(localFileSystem.exists(configurationFilePath))
5757

@@ -130,7 +130,7 @@ final class PackageRegistryToolTests: XCTestCase {
130130
func testSetMissingURL() throws {
131131
fixture(name: "DependencyResolution/External/Simple") { prefix in
132132
let packageRoot = prefix.appending(component: "Bar")
133-
let configurationFilePath = packageRoot.appending(RelativePath(".swiftpm/config/registries.json"))
133+
let configurationFilePath = packageRoot.appending(RelativePath(".swiftpm/configuration/registries.json"))
134134

135135
XCTAssertFalse(localFileSystem.exists(configurationFilePath))
136136

@@ -147,7 +147,7 @@ final class PackageRegistryToolTests: XCTestCase {
147147
func testSetInvalidURL() throws {
148148
fixture(name: "DependencyResolution/External/Simple") { prefix in
149149
let packageRoot = prefix.appending(component: "Bar")
150-
let configurationFilePath = packageRoot.appending(RelativePath(".swiftpm/config/registries.json"))
150+
let configurationFilePath = packageRoot.appending(RelativePath(".swiftpm/configuration/registries.json"))
151151

152152
XCTAssertFalse(localFileSystem.exists(configurationFilePath))
153153

@@ -164,7 +164,7 @@ final class PackageRegistryToolTests: XCTestCase {
164164
func testUnsetMissingEntry() throws {
165165
fixture(name: "DependencyResolution/External/Simple") { prefix in
166166
let packageRoot = prefix.appending(component: "Bar")
167-
let configurationFilePath = packageRoot.appending(RelativePath(".swiftpm/config/registries.json"))
167+
let configurationFilePath = packageRoot.appending(RelativePath(".swiftpm/configuration/registries.json"))
168168

169169
XCTAssertFalse(localFileSystem.exists(configurationFilePath))
170170

0 commit comments

Comments
 (0)