Skip to content

Commit

Permalink
Remove characters
Browse files Browse the repository at this point in the history
  • Loading branch information
tichise committed Sep 21, 2018
1 parent 66044a7 commit 239fbcb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Sample/SampleTests/SampleTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ class SampleTests: XCTestCase {
let titleLabel:UILabel = UILabel.init()
titleLabel.font = EntypoFont.fontOfSize(40)
titleLabel.text = EntypoIcon.creativeCommons

XCTAssertTrue(titleLabel.text?.characters.count == 1)

guard let text = titleLabel.text else {
fatalError()
}

XCTAssertTrue(text.count == 1)
}
}

0 comments on commit 239fbcb

Please sign in to comment.