mirror of https://github.com/SnapKit/SnapKit
Remove prints
This commit is contained in:
parent
cdedbcdea7
commit
ac0b5829aa
|
@ -109,7 +109,6 @@ public struct ConstraintViewDSL: ConstraintAttributesDSL {
|
||||||
for layoutConstraint in layoutConstraints {
|
for layoutConstraint in layoutConstraints {
|
||||||
hashTable.add(layoutConstraint)
|
hashTable.add(layoutConstraint)
|
||||||
}
|
}
|
||||||
print(hashTable, self.layoutConstraintsHashTable)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
internal func remove(layoutConstraints: [LayoutConstraint]) {
|
internal func remove(layoutConstraints: [LayoutConstraint]) {
|
||||||
|
@ -117,7 +116,6 @@ public struct ConstraintViewDSL: ConstraintAttributesDSL {
|
||||||
for layoutConstraint in layoutConstraints {
|
for layoutConstraint in layoutConstraints {
|
||||||
hashTable.remove(layoutConstraint)
|
hashTable.remove(layoutConstraint)
|
||||||
}
|
}
|
||||||
print(hashTable, self.layoutConstraintsHashTable)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private var layoutConstraintsHashTable: NSHashTable<LayoutConstraint> {
|
private var layoutConstraintsHashTable: NSHashTable<LayoutConstraint> {
|
||||||
|
|
|
@ -473,9 +473,7 @@ class SnapKitTests: XCTestCase {
|
||||||
make.top.equalTo(vc.topLayoutGuide.snp.bottom)
|
make.top.equalTo(vc.topLayoutGuide.snp.bottom)
|
||||||
make.bottom.equalTo(vc.bottomLayoutGuide.snp.top)
|
make.bottom.equalTo(vc.bottomLayoutGuide.snp.top)
|
||||||
}
|
}
|
||||||
|
|
||||||
print(vc.view.snp_constraints)
|
|
||||||
|
|
||||||
XCTAssertEqual(vc.view.snp_constraints.count, 6, "Should have 6 constraints installed")
|
XCTAssertEqual(vc.view.snp_constraints.count, 6, "Should have 6 constraints installed")
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue