                     connectionExp.fulfill()
                     let _ = try self.createNode(connection: conn)
                 }
-            } catch {
-                // poop
+            } catch(let error) {
+                XCTFail("Did not expect any errors, but got \(error)")
             }
         }
     

import packstream_swift

@testable import bolt_swift

class bolt_swiftTests: XCTestCase {
    func testConnection() throws {
        let connectionExp = expectation(description: "Login successful")
        
        let settings = ConnectionSettings(username: "neo4j", password: "<passcode>", userAgent: "Bah")
        let conn = SwiftSocketConnection(hostname: "localhost", settings: settings)
        try conn.connect { (success) in
            do {

                    cypherExp.fulfill()
                    let _ = try self.pullResults(connection: conn)
                }
            } catch(let error) {
                XCTFail("Did not expect any errors, but got \(error)")
            }
        }
        
