Skip to content

Commit

Permalink
Update AttributedLabelTests.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
robmaceachern committed Jan 24, 2024
1 parent bae34d2 commit 5f42b00
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,19 +191,19 @@ class AttributedLabelTests: XCTestCase {

test(
in: CGSize(width: 30, height: 20),
expectedSize: CGSize(width: 30, height: 235.5)
expectedSize: CGSize(width: 30, height: 235.33333333333334)
)
test(
in: CGSize(width: 100, height: 300),
expectedSize: CGSize(width: 95, height: 105.5)
expectedSize: CGSize(width: 95, height: 105.33333333333333)
)
test(
in: CGSize(width: 120, height: 300),
expectedSize: CGSize(width: 107, height: 67)
)
test(
in: CGSize(width: 8000, height: 4000),
expectedSize: CGSize(width: 153.5, height: 38.5)
expectedSize: CGSize(width: 153.66666666666666, height: 38.333333333333336)
)
}

Expand Down

0 comments on commit 5f42b00

Please sign in to comment.