Skip to content

Commit a1dc335

Browse files
committed
Fix FIXMEs
1 parent d79d52c commit a1dc335

File tree

4 files changed

+4
-13
lines changed

4 files changed

+4
-13
lines changed

Sources/SQLite/Typed/Expression.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ public protocol Expressible {
7373
extension Expressible {
7474

7575
// naïve compiler for statements that can’t be bound, e.g., CREATE TABLE
76-
// FIXME: use @testable and make internal
77-
public func asSQL() -> String {
76+
internal func asSQL() -> String {
7877
let expressed = expression
7978
var idx = 0
8079
return expressed.template.characters.reduce("") { template, character in

Tests/SQLiteTests/CoreFunctionsTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import XCTest
2-
import SQLite
2+
@testable import SQLite
33

44
class CoreFunctionsTests : XCTestCase {
55

Tests/SQLiteTests/QueryTests.swift

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import XCTest
2-
import SQLite
2+
@testable import SQLite
33

44
class QueryTests : XCTestCase {
55

@@ -333,10 +333,6 @@ class QueryIntegrationTests : SQLiteTestCase {
333333
// MARK: -
334334

335335
func test_select() {
336-
for _ in try! db.prepare(users) {
337-
// FIXME
338-
}
339-
340336
let managerId = Expression<Int64>("manager_id")
341337
let managers = users.alias("managers")
342338

@@ -349,10 +345,6 @@ class QueryIntegrationTests : SQLiteTestCase {
349345
}
350346

351347
func test_select_optional() {
352-
for _ in try! db.prepare(users) {
353-
// FIXME
354-
}
355-
356348
let managerId = Expression<Int64?>("manager_id")
357349
let managers = users.alias("managers")
358350

Tests/SQLiteTests/TestHelpers.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import XCTest
2-
import SQLite
2+
@testable import SQLite
33

44
class SQLiteTestCase : XCTestCase {
55

0 commit comments

Comments
 (0)