Skip to content

Commit

Permalink
Address review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
DougGregor committed May 8, 2024
1 parent 165e3fc commit b08070d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Sources/PackageModel/InstalledSwiftPMConfiguration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public struct InstalledSwiftPMConfiguration {
private static var defaultSwiftTestingVersionForTestTemplate: Version {
.init(
major: 0,
minor: 7,
minor: 8,
patch: 0,
prereleaseIdentifier: nil
)
Expand Down
2 changes: 1 addition & 1 deletion Sources/PackageModelSyntax/AddTarget.swift
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ public struct AddTarget {
@Suite
struct \(raw: target.name)Tests {
@Test("\(raw: target.name) tests")
func tests() {
func example() {
#expect(42 == 17 + 25)
}
}
Expand Down
4 changes: 2 additions & 2 deletions Tests/PackageModelSyntaxTests/ManifestEditTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ class ManifestEditTests: XCTestCase {
let package = Package(
name: "packages",
dependencies: [
.package(url: "https://github.com/apple/swift-testing.git", from: "0.7.0"),
.package(url: "https://github.com/apple/swift-testing.git", from: "0.8.0"),
],
targets: [
.testTarget(
Expand All @@ -593,7 +593,7 @@ class ManifestEditTests: XCTestCase {
@Suite
struct MyTestTests {
@Test("MyTest tests")
func tests() {
func example() {
#expect(42 == 17 + 25)
}
}
Expand Down
2 changes: 1 addition & 1 deletion Utilities/config.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{"version":1,
"swiftSyntaxVersionForMacroTemplate":{"major":600,"minor":0,"patch":0, "prereleaseIdentifier":"latest"},
"swiftTestingVersionForTestTemplate":{"major":0,"minor":7,"patch":0}}
"swiftTestingVersionForTestTemplate":{"major":0,"minor":8,"patch":0}}

0 comments on commit b08070d

Please sign in to comment.