Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziodemaria committed May 6, 2024
1 parent 80b722e commit 5ebdcea
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Tests/ConfidenceTests/ConfidenceFeatureProviderTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -524,10 +524,13 @@ class ConfidenceFeatureProviderTest: XCTestCase {
.build()

try await confidence.fetchAndActivate()
XCTAssertThrowsError(try confidence.getEvaluation(
key: "flag.size",
defaultValue: 42)) { error in
XCTAssertEqual(error as? ConfidenceError, ConfidenceError.flagNotFoundError(key: "flag"))
XCTAssertThrowsError(
try confidence.getEvaluation(
key: "flag.size",
defaultValue: 42
)
) { error in
XCTAssertEqual(error as? ConfidenceError, ConfidenceError.flagNotFoundError(key: "flag"))
}

XCTAssertEqual(client.resolveStats, 1)
Expand Down

0 comments on commit 5ebdcea

Please sign in to comment.