Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
use customDump
Browse files Browse the repository at this point in the history
  • Loading branch information
mltbnz committed Apr 9, 2022
1 parent 5084e95 commit 830d9e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions WegliKit/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ let package = Package(
url: "https://github.com/pointfreeco/swift-snapshot-testing.git",
.upToNextMajor(from: "1.8.2")
),
.package(url: "https://github.com/pointfreeco/swift-custom-dump", .upToNextMajor(from: "0.3.0"))
],
targets: [
.target(
Expand Down Expand Up @@ -289,6 +290,7 @@ package.targets.append(
"MailFeature",
"SharedModels",
.product(name: "ComposableArchitecture", package: "swift-composable-architecture"),
.product(name: "CustomDump", package: "swift-custom-dump")
]
),
.testTarget(
Expand All @@ -300,6 +302,7 @@ package.targets.append(
"ReportFeature",
"SharedModels",
.product(name: "ComposableArchitecture", package: "swift-composable-architecture"),
.product(name: "CustomDump", package: "swift-custom-dump")
]
),
.testTarget(
Expand Down
3 changes: 2 additions & 1 deletion WegliKit/Tests/ReportFeatureTests/ReportMailTests.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import CustomDump
import ReportFeature
import XCTest

Expand Down Expand Up @@ -111,6 +112,6 @@ class ReportMailTests: XCTestCase {
Max Mustermann
"""

XCTAssertEqual(expectedBody, mailBody)
XCTAssertNoDifference(expectedBody, mailBody)
}
}

0 comments on commit 830d9e0

Please sign in to comment.