Skip to content

Commit

Permalink
Swap UIColor for BONColor
Browse files Browse the repository at this point in the history
  • Loading branch information
stleamist committed Jun 9, 2023
1 parent eefdc7e commit 90e216b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Tests/AttributedStringStyleTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -831,11 +831,11 @@ class StringStyleTests: XCTestCase {

func testOverridingExtraAttributesPart() {
let style = StringStyle()
.byAdding(.extraAttributes([.backgroundColor: UIColor.white]))
.byAdding(.extraAttributes([.foregroundColor: UIColor.black]))
.byAdding(.extraAttributes([.backgroundColor: BONColor.white]))
.byAdding(.extraAttributes([.foregroundColor: BONColor.black]))

BONAssert(attributes: style.attributes, key: .backgroundColor, value: UIColor.white)
BONAssert(attributes: style.attributes, key: .foregroundColor, value: UIColor.black)
BONAssert(attributes: style.attributes, key: .backgroundColor, value: BONColor.white)
BONAssert(attributes: style.attributes, key: .foregroundColor, value: BONColor.black)
}

}
Expand Down

0 comments on commit 90e216b

Please sign in to comment.