diff --git a/Source/ConstraintViewDSL.swift b/Source/ConstraintViewDSL.swift index 21e1ac8..55bb845 100644 --- a/Source/ConstraintViewDSL.swift +++ b/Source/ConstraintViewDSL.swift @@ -109,7 +109,6 @@ public struct ConstraintViewDSL: ConstraintAttributesDSL { for layoutConstraint in layoutConstraints { hashTable.add(layoutConstraint) } - print(hashTable, self.layoutConstraintsHashTable) } internal func remove(layoutConstraints: [LayoutConstraint]) { @@ -117,7 +116,6 @@ public struct ConstraintViewDSL: ConstraintAttributesDSL { for layoutConstraint in layoutConstraints { hashTable.remove(layoutConstraint) } - print(hashTable, self.layoutConstraintsHashTable) } private var layoutConstraintsHashTable: NSHashTable { diff --git a/Tests/Tests.swift b/Tests/Tests.swift index 1896d8d..8b1c83c 100644 --- a/Tests/Tests.swift +++ b/Tests/Tests.swift @@ -473,9 +473,7 @@ class SnapKitTests: XCTestCase { make.top.equalTo(vc.topLayoutGuide.snp.bottom) make.bottom.equalTo(vc.bottomLayoutGuide.snp.top) } - - print(vc.view.snp_constraints) - + XCTAssertEqual(vc.view.snp_constraints.count, 6, "Should have 6 constraints installed") } #endif