mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-28 04:24:20 +00:00
Remove useless change
This commit is contained in:
1 parent
703ce643b5
commit
7e50869d39
1 file changed
+4
-4
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user