Skip to content

Commit

Permalink
Fix test on Apple TV - 13.4
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisballinger committed Nov 4, 2020
1 parent 8ffa47c commit a17b179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/BONFontBehaviorTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class BONFontBehaviorTests: XCTestCase {
var attributes = UIFont(name: "Avenir-Roman", size: 10)!.fontDescriptor.fontAttributes
attributes[UIFontDescriptor.AttributeName.textStyle] = testTextStyle
let newAttributes = UIFont(descriptor: UIFontDescriptor(fontAttributes: attributes), size: 0).fontDescriptor.fontAttributes
if #available(iOS 14.0, *) {
if #available(iOS 14.0, tvOS 14.0, macOS 11.0, watchOS 7.0, *) {
XCTAssertEqual(newAttributes.count, 3)
}
else {
Expand Down

0 comments on commit a17b179

Please sign in to comment.