mirror of https://github.com/SnapKit/SnapKit
Add test assert to unit test testCanSetLabel. (#625)
This commit is contained in:
parent
1baa163651
commit
4ecdc8545f
|
@ -736,6 +736,8 @@ class SnapKitTests: XCTestCase {
|
||||||
|
|
||||||
func testCanSetLabel() {
|
func testCanSetLabel() {
|
||||||
self.container.snp.setLabel("Hello World")
|
self.container.snp.setLabel("Hello World")
|
||||||
|
|
||||||
|
XCTAssertEqual(self.container.snp.label(), "Hello World")
|
||||||
}
|
}
|
||||||
|
|
||||||
func testPriorityShortcuts() {
|
func testPriorityShortcuts() {
|
||||||
|
|
Loading…
Reference in New Issue