Skip to content

Commit 88aa896

Browse files
committed
public init
1 parent 1d86f67 commit 88aa896

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Sources/CouchDBClient/CouchDBClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class CouchDBClient: NSObject {
2727

2828

2929
// MARK: - Init
30-
override init() {
30+
public override init() {
3131
super.init()
3232

3333
self.couchBaseURL = self.buildBaseUrl()

Tests/CouchDBClientTests/CouchDBClientTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ final class CouchDBClientTests: XCTestCase {
66
// This is an example of a functional test case.
77
// Use XCTAssert and related functions to verify your tests produce the correct
88
// results.
9+
let couchDBClient = CouchDBClient()
10+
XCTAssertNotNil(couchDBClient)
911
// XCTAssertEqual(CouchDBClient().text, "Hello, World!")
1012
}
1113

0 commit comments

Comments
 (0)