Skip to content

Commit

Permalink
switches to origin for CwlPreconditionTesting #1
Browse files Browse the repository at this point in the history
  • Loading branch information
brennanMKE committed Nov 28, 2021
1 parent e65ee7e commit 4546edb
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
xcuserdata
Local
.build
7 changes: 7 additions & 0 deletions .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"object": {
"pins": [
{
"package": "CwlCatchException",
"repositoryURL": "https://github.com/mattgallagher/CwlCatchException.git",
"state": {
"branch": null,
"revision": "35f9e770f54ce62dd8526470f14c6e137cef3eea",
"version": "2.1.1"
}
},
{
"package": "CwlPreconditionTesting",
"repositoryURL": "https://github.com/mattgallagher/CwlPreconditionTesting.git",
"state": {
"branch": null,
"revision": "c21f7bab5ca8eee0a9998bbd17ca1d0eb45d4688",
"version": "2.1.0"
}
}
]
},
"version": 1
}
9 changes: 6 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
import Foundation

let package = Package(
name: "Hela",
Expand All @@ -17,16 +18,18 @@ let package = Package(
targets: ["Hela"]),
],
dependencies: [
.package(url: "https://github.com/brennanMKE/CwlPreconditionTesting.git", branch: "saagar-fix")
.package(url: "https://github.com/mattgallagher/CwlPreconditionTesting.git", .upToNextMajor(from: "2.1.0"))
],
targets: [
.target(
name: "Hela",
dependencies: [
.product(name: "CwlPreconditionTesting", package: "CwlPreconditionTesting")
]),
]
),
.testTarget(
name: "HelaTests",
dependencies: ["Hela"]),
dependencies: ["Hela"]
),
]
)
2 changes: 1 addition & 1 deletion Tests/HelaTests/HelaTests.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import XCTest
@testable import Hela

class PreconditionCatchingTests: XCTestCase {
class HelaTests: XCTestCase {

func testRunnerWithoutFatalError() throws {
let runner = Runner()
Expand Down

0 comments on commit 4546edb

Please sign in to comment.