Skip to content

Commit b35c295

Browse files
author
Shaun Hubbard
committed
Double D'Oh
1 parent 439395d commit b35c295

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/PostgreSQLTests/PostgreSQLConnectionTests.swift

+3-3
Original file line numberDiff line numberDiff line change
@@ -345,13 +345,13 @@ class PostgreSQLConnectionTests: XCTestCase {
345345
func testNotifyAndListen() throws {
346346
let notifyConn = try PostgreSQLConnection.makeTest()
347347
let listenConn = try PostgreSQLConnection.makeTest()
348-
var messageReceived = false
349-
//listenConn
350348
let channelName = "Foo"
351349
let messageText = "Bar"
350+
var messageReceived = false
351+
352352
try listenConn.listen(channelName) { text in
353353
messageReceived = text == messageText
354-
}.catch({ err in XCTFail("error \(err)") })
354+
}.catch({ err in XCTFail("error \(err)") })
355355

356356
try notifyConn.notify(channelName, message: messageText).wait()
357357

0 commit comments

Comments
 (0)