Skip to content

Commit

Permalink
Stop using deprecated property.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZevEisenberg committed Jun 8, 2021
1 parent 68a059d commit 26c7076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/XMLTagStyleBuilderTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ class XMLTagStyleBuilderTests: XCTestCase {
}

func testBONXML() {
for value in Special.all {
for value in Special.allCases {
let xmlString = "this<BON:\(value.name)/>should embed a special character"
let xmlAttributedString = try? NSAttributedString.composed(ofXML: xmlString)
XCTAssertEqual(xmlAttributedString?.string, "this\(value)should embed a special character")
Expand Down

0 comments on commit 26c7076

Please sign in to comment.