Skip to content

Commit

Permalink
Fix some unused variable warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tgoyne committed Nov 27, 2023
1 parent b387972 commit 08a7159
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Realm/ObjectServerTests/SwiftUIServerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class SwiftUIServerTests: SwiftSyncTestCase {

let ex = expectation(description: "download-realm-async-open")
asyncOpen(user: user, appId: appId, partitionValue: #function) { asyncOpenState in
if case let .open(realm) = asyncOpenState {
if case .open = asyncOpenState {
ex.fulfill()
}
}
Expand Down Expand Up @@ -287,7 +287,7 @@ class SwiftUIServerTests: SwiftSyncTestCase {

let ex = expectation(description: "download-realm-auto-open")
autoOpen(user: user, appId: appId, partitionValue: #function) { autoOpenState in
if case let .open(realm) = autoOpenState {
if case .open = autoOpenState {
ex.fulfill()
}
}
Expand Down

0 comments on commit 08a7159

Please sign in to comment.