Skip to content

Commit

Permalink
Run swift-format
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis authored and github-actions[bot] committed May 9, 2024
1 parent f248eff commit b7bf9fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/ComposableArchitectureTests/SharedTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ final class SharedTests: XCTestCase {
XCTAssertEqual(isActive, false)
XCTAssertEqual(didAccess.value, false)
}

func testSharedInitialValueUnused() {
let accessedIsOn1 = LockIsolated(false)
let accessedIsOn2 = LockIsolated(false)
Expand Down Expand Up @@ -809,12 +809,12 @@ final class SharedTests: XCTestCase {
return false
}()
@SharedReader(.isActive(default: logDefault)) var isActive2

XCTAssertEqual(isActive1, false)
XCTAssertEqual(isActive2, false)
XCTAssertEqual(accessedActive1.value, true)
}

func testSharedThrowingInitialValueUnused() throws {
try XCTAssertThrowsError(Shared(.noDefaultIsOn))
}
Expand Down

0 comments on commit b7bf9fc

Please sign in to comment.