From 7e50869d39499ec63d09ea3bd1a488b89b6005a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Fri, 27 Mar 2020 21:01:34 +0100 Subject: [PATCH] Remove useless change --- .../GRDBTests/ValueObservationRegionRecordingTests.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Tests/GRDBTests/ValueObservationRegionRecordingTests.swift b/Tests/GRDBTests/ValueObservationRegionRecordingTests.swift index 08dd70b75..bc7f72099 100644 --- a/Tests/GRDBTests/ValueObservationRegionRecordingTests.swift +++ b/Tests/GRDBTests/ValueObservationRegionRecordingTests.swift @@ -139,10 +139,10 @@ class ValueObservationRegionRecordingTests: GRDBTestCase { notificationExpectation.assertForOverFulfill = true notificationExpectation.expectedFulfillmentCount = 4 - let observation = ValueObservation.trackingVaryingRegion({ db -> Int in + let observation = ValueObservation.trackingVaryingRegion { db -> Int in let table = try String.fetchOne(db, sql: "SELECT name FROM source")! return try Int.fetchOne(db, sql: "SELECT IFNULL(SUM(value), 0) FROM \(table)")! - }) + } let observer = observation.start( in: dbQueue, @@ -190,10 +190,10 @@ class ValueObservationRegionRecordingTests: GRDBTestCase { notificationExpectation.assertForOverFulfill = true notificationExpectation.expectedFulfillmentCount = 4 - let observation = ValueObservation.trackingVaryingRegion({ db -> Int in + let observation = ValueObservation.trackingVaryingRegion { db -> Int in let table = try String.fetchOne(db, sql: "SELECT name FROM source")! return try Int.fetchOne(db, sql: "SELECT IFNULL(SUM(value), 0) FROM \(table)")! - }) + } let observer = observation.start( in: dbQueue,