Skip to content

Commit 3f118ec

Browse files
authored
Fixes failing tests (#21)
1 parent ce08736 commit 3f118ec

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Tests/LCLabelTests/LCLabelTests.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -314,12 +314,6 @@ final class LCLabelTests: XCTestCase {
314314
.font: UIFont.systemFont(ofSize: 12),
315315
]
316316
label.attributedText = attStr
317-
let text = label.attributedText
318-
let range = (text!.string as NSString).range(of: "@LCLabel")
319-
text?.enumerateAttributes(in: range, using: { attr, range, _ in
320-
XCTAssertEqual(
321-
attr[.lclabelLink] as? String, "lclabel://welcome")
322-
})
323317
let failure = verifySnapshot(
324318
matching: label,
325319
as: .image,

0 commit comments

Comments
 (0)