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 0d88f8d commit 9f6bf25
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 9f6bf25

Please sign in to comment.