We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4316b85 commit de5d5e5Copy full SHA for de5d5e5
Tests/WorkspaceTests/WorkspaceTests.swift
@@ -5017,7 +5017,7 @@ final class WorkspaceTests: XCTestCase {
5017
do {
5018
let ws = try workspace.getOrCreateWorkspace()
5019
let pinsStore = try ws.pinsStore.load()
5020
- let fooPin = pinsStore.pins.values.first(where: { $0.packageRef.identity.description == "foo" })!
+ let fooPin = try XCTUnwrap(pinsStore.pins.values.first(where: { $0.packageRef.identity.description == "foo" }))
5021
5022
let fooRepo = workspace.repositoryProvider
5023
.specifierMap[RepositorySpecifier(path: try AbsolutePath(
0 commit comments