Skip to content

Commit

Permalink
Fixes failing tests (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
mustiikhalil authored May 14, 2022
1 parent ce08736 commit 3f118ec
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Tests/LCLabelTests/LCLabelTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -314,12 +314,6 @@ final class LCLabelTests: XCTestCase {
.font: UIFont.systemFont(ofSize: 12),
]
label.attributedText = attStr
let text = label.attributedText
let range = (text!.string as NSString).range(of: "@LCLabel")
text?.enumerateAttributes(in: range, using: { attr, range, _ in
XCTAssertEqual(
attr[.lclabelLink] as? String, "lclabel://welcome")
})
let failure = verifySnapshot(
matching: label,
as: .image,
Expand Down

0 comments on commit 3f118ec

Please sign in to comment.