Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
benedom committed Oct 21, 2024
1 parent c740e4e commit 4bf6b14
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Tests/SwiftyCropTests/SwiftyCropTests.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import XCTest
import SwiftUI
@testable import SwiftyCrop

final class SwiftyCropTests: XCTestCase {
Expand All @@ -9,14 +10,14 @@ final class SwiftyCropTests: XCTestCase {
cropImageCircular: true,
rectAspectRatio: 4/3,
texts: SwiftyCropConfiguration.Texts(
cancelButtonText: "Test 1",
interactionInstructionsText: "Test 2",
saveButtonText: "Test 3"
cancelButton: "Test 1",
interactionInstructions: "Test 2",
saveButton: "Test 3"
),
fonts: SwiftyCropConfiguration.Fonts(
cancelButton: Font.system(size: 12),
interactionInstructions: .systemFont(ofSize: 13),
saveButton: .systemFont(ofSize: 14)
interactionInstructions: Font.system(size: 13),
saveButton: Font.system(size: 14)
),
colors: SwiftyCropConfiguration.Colors(
cancelButton: .red,
Expand Down

0 comments on commit 4bf6b14

Please sign in to comment.