Skip to content

Commit 2e5de32

Browse files
committed
Fix tests
1 parent 0becfda commit 2e5de32

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Tests/WorkspaceTests/WorkspaceTests.swift

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12387,7 +12387,7 @@ final class WorkspaceTests: XCTestCase {
1238712387

1238812388
workspace.checkPackageGraphFailure(roots: ["MyPackage"]) { diagnostics in
1238912389
testDiagnostics(diagnostics) { result in
12390-
result.check(diagnostic: .equal("No registry configured for 'org' scope"), severity: .error)
12390+
result.check(diagnostic: .equal("no registry configured for 'org' scope"), severity: .error)
1239112391
}
1239212392
}
1239312393
}
@@ -12443,7 +12443,7 @@ final class WorkspaceTests: XCTestCase {
1244312443
workspace.registryClient = registryClient
1244412444
workspace.checkPackageGraphFailure(roots: ["MyPackage"]) { diagnostics in
1244512445
testDiagnostics(diagnostics) { result in
12446-
result.check(diagnostic: .equal("Failed fetching 'org.foo' releases list from 'http://localhost': boom"), severity: .error)
12446+
result.check(diagnostic: .equal("failed fetching 'org.foo' releases list from 'http://localhost': boom"), severity: .error)
1244712447
}
1244812448
}
1244912449
}
@@ -12462,7 +12462,7 @@ final class WorkspaceTests: XCTestCase {
1246212462
workspace.registryClient = registryClient
1246312463
workspace.checkPackageGraphFailure(roots: ["MyPackage"]) { diagnostics in
1246412464
testDiagnostics(diagnostics) { result in
12465-
result.check(diagnostic: .equal("Failed fetching 'org.foo' releases list from 'http://localhost': Server error 500: Internal Server Error"), severity: .error)
12465+
result.check(diagnostic: .equal("failed fetching 'org.foo' releases list from 'http://localhost': server error 500: Internal Server Error"), severity: .error)
1246612466
}
1246712467
}
1246812468
}
@@ -12519,7 +12519,7 @@ final class WorkspaceTests: XCTestCase {
1251912519
workspace.registryClient = registryClient
1252012520
workspace.checkPackageGraphFailure(roots: ["MyPackage"]) { diagnostics in
1252112521
testDiagnostics(diagnostics) { result in
12522-
result.check(diagnostic: .equal("Failed fetching 'org.foo@1.0.0' release checksum from 'http://localhost': boom"), severity: .error)
12522+
result.check(diagnostic: .equal("failed fetching 'org.foo@1.0.0' release checksum from 'http://localhost': boom"), severity: .error)
1252312523
}
1252412524
}
1252512525
}
@@ -12538,7 +12538,7 @@ final class WorkspaceTests: XCTestCase {
1253812538
workspace.registryClient = registryClient
1253912539
workspace.checkPackageGraphFailure(roots: ["MyPackage"]) { diagnostics in
1254012540
testDiagnostics(diagnostics) { result in
12541-
result.check(diagnostic: .equal("Failed fetching 'org.foo@1.0.0' release checksum from 'http://localhost': Server error 500: Internal Server Error"), severity: .error)
12541+
result.check(diagnostic: .equal("failed fetching 'org.foo@1.0.0' release checksum from 'http://localhost': server error 500: Internal Server Error"), severity: .error)
1254212542
}
1254312543
}
1254412544
}
@@ -12595,7 +12595,7 @@ final class WorkspaceTests: XCTestCase {
1259512595
workspace.registryClient = registryClient
1259612596
workspace.checkPackageGraphFailure(roots: ["MyPackage"]) { diagnostics in
1259712597
testDiagnostics(diagnostics) { result in
12598-
result.check(diagnostic: .equal("Failed retrieving 'org.foo@1.0.0' manifest from 'http://localhost': boom"), severity: .error)
12598+
result.check(diagnostic: .equal("failed retrieving 'org.foo@1.0.0' manifest from 'http://localhost': boom"), severity: .error)
1259912599
}
1260012600
}
1260112601
}
@@ -12614,7 +12614,7 @@ final class WorkspaceTests: XCTestCase {
1261412614
workspace.registryClient = registryClient
1261512615
workspace.checkPackageGraphFailure(roots: ["MyPackage"]) { diagnostics in
1261612616
testDiagnostics(diagnostics) { result in
12617-
result.check(diagnostic: .equal("Failed retrieving 'org.foo@1.0.0' manifest from 'http://localhost': Server error 500: Internal Server Error"), severity: .error)
12617+
result.check(diagnostic: .equal("failed retrieving 'org.foo@1.0.0' manifest from 'http://localhost': server error 500: Internal Server Error"), severity: .error)
1261812618
}
1261912619
}
1262012620
}
@@ -12671,7 +12671,7 @@ final class WorkspaceTests: XCTestCase {
1267112671
workspace.registryClient = registryClient
1267212672
workspace.checkPackageGraphFailure(roots: ["MyPackage"]) { diagnostics in
1267312673
testDiagnostics(diagnostics) { result in
12674-
result.check(diagnostic: .equal("Failed downloading 'org.foo@1.0.0' source archive from 'http://localhost': boom"), severity: .error)
12674+
result.check(diagnostic: .equal("failed downloading 'org.foo@1.0.0' source archive from 'http://localhost': boom"), severity: .error)
1267512675
}
1267612676
}
1267712677
}
@@ -12690,7 +12690,7 @@ final class WorkspaceTests: XCTestCase {
1269012690
workspace.registryClient = registryClient
1269112691
workspace.checkPackageGraphFailure(roots: ["MyPackage"]) { diagnostics in
1269212692
testDiagnostics(diagnostics) { result in
12693-
result.check(diagnostic: .equal("Failed downloading 'org.foo@1.0.0' source archive from 'http://localhost': Server error 500: Internal Server Error"), severity: .error)
12693+
result.check(diagnostic: .equal("failed downloading 'org.foo@1.0.0' source archive from 'http://localhost': server error 500: Internal Server Error"), severity: .error)
1269412694
}
1269512695
}
1269612696
}

0 commit comments

Comments
 (0)