Skip to content

Commit

Permalink
Silence weird swiftlint warning?
Browse files Browse the repository at this point in the history
  • Loading branch information
Supereg committed Jul 11, 2024
1 parent 815854c commit 88e064a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Tests/SpeziFoundationTests/SharedRepositoryTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,18 @@ private struct DefaultedTestStruct: DefaultProvidingKnowledgeSource, TestTypes {
static let defaultValue = DefaultedTestStruct(value: 0)
}

@MainActor var computedValue: Int = 3
@MainActor var optionalComputedValue: Int?

final class SharedRepositoryTests: XCTestCase {
@MainActor static var computedValue: Int = 3
@MainActor static var optionalComputedValue: Int?

final class SharedRepositoryTests: XCTestCase {
private var repos: [AnyTestInstance] = []

@MainActor
override func setUp() {
repos = [TestInstance(HeapRepository<TestAnchor>()), TestInstance(ValueRepository<TestAnchor>())]
Self.computedValue = 3
Self.optionalComputedValue = nil
computedValue = 3
optionalComputedValue = nil
}

func testValueRepositoryIteration() {
Expand Down

0 comments on commit 88e064a

Please sign in to comment.