Skip to content

Commit

Permalink
Fix lint violations
Browse files Browse the repository at this point in the history
  • Loading branch information
tinder-garricnahapetian committed Apr 17, 2024
1 parent 9601717 commit 49f5d1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tests/LayoutTests/Support/Device.swift
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ internal enum Device: CustomStringConvertible {
}

internal var name: String {
return switch self {
switch self {
case let .iPhone8(orientation):
"iPhone 8 - \(orientation)"
case let .iPhoneSE(orientation):
Expand Down
2 changes: 1 addition & 1 deletion Tests/LayoutTests/Support/SnapshotTesting.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ extension XCTestCase {
extension Device {

internal var config: ViewImageConfig {
return switch self {
switch self {
case let .iPhone8(orientation):
.iPhone8(orientation.configOrientation)
case let .iPhoneSE(orientation):
Expand Down

0 comments on commit 49f5d1d

Please sign in to comment.