mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
Cleanup
This commit is contained in:
1 parent
f12495b24a
commit
9e380e5fea
1 file changed
+2
-2
@@ -17,7 +17,7 @@ class DateParsingTests: XCTestCase {
|
||||
|
||||
func testParseDateComponents() {
|
||||
measure {
|
||||
_ = try! DatabaseQueue().inDatabase { db in
|
||||
try! DatabaseQueue().inDatabase { db in
|
||||
let cursor = try DatabaseDateComponents.fetchCursor(db, request)
|
||||
while try cursor.next() != nil { }
|
||||
}
|
||||
@@ -26,7 +26,7 @@ class DateParsingTests: XCTestCase {
|
||||
|
||||
func testParseDate() {
|
||||
measure {
|
||||
_ = try! DatabaseQueue().inDatabase { db in
|
||||
try! DatabaseQueue().inDatabase { db in
|
||||
let cursor = try Date.fetchCursor(db, request)
|
||||
while try cursor.next() != nil { }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user