From ac0b5829aa546985c0a3cd106b7e4177e1d963af Mon Sep 17 00:00:00 2001 From: Robert Payne Date: Sat, 10 Sep 2016 16:40:55 +1200 Subject: [PATCH] Remove prints --- Source/ConstraintViewDSL.swift | 2 -- Tests/Tests.swift | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) 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