Skip to content

Commit

Permalink
rename package targets without dashes
Browse files Browse the repository at this point in the history
  • Loading branch information
paulz committed May 22, 2022
1 parent b31d59b commit 3fed7b0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ let package = Package(
.iOS(.v14)],
products: [
.library(
name: "SwiftUI-snapshot-testing",
targets: ["SwiftUI-snapshot-testing"]),
name: "SwiftUI_SnapshotTesting",
targets: ["ViewSnapshotTesting"]),
],
targets: [
.target(
name: "SwiftUI-snapshot-testing",
name: "ViewSnapshotTesting",
dependencies: [],
path: "Sources",
linkerSettings: [.linkedFramework("XCTest",
Expand All @@ -25,7 +25,7 @@ let package = Package(
),
.testTarget(
name: "UnitTests",
dependencies: ["SwiftUI-snapshot-testing"],
dependencies: ["ViewSnapshotTesting"],
path: "Tests",
exclude: ["Snapshots"]
),
Expand Down
2 changes: 1 addition & 1 deletion Tests/DiffPerformanceTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import XCTest

import CoreImage
import CoreImage.CIFilterBuiltins
@testable import SwiftUI_snapshot_testing
@testable import ViewSnapshotTesting

class DiffPerformanceTest: XCTestCase {
let bundle = Bundle(for: DiffPerformanceTest.self)
Expand Down
2 changes: 1 addition & 1 deletion Tests/SampleViewTest.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import UniformTypeIdentifiers
@testable import SwiftUI_snapshot_testing
@testable import ViewSnapshotTesting
import SwiftUI

class SampleViewTest: XCTestCase {
Expand Down
2 changes: 1 addition & 1 deletion Tests/UIKitViewTest.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import XCTest
import SwiftUI
import UniformTypeIdentifiers
@testable import SwiftUI_snapshot_testing
@testable import ViewSnapshotTesting

class UIKitViewTest: XCTestCase {
let expectedSize = CGSize(width: 40, height: 20)
Expand Down

0 comments on commit 3fed7b0

Please sign in to comment.