Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
anonvt committed Nov 14, 2024
1 parent 7ee4405 commit e383405
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/topsort.swiftTests/topsort_swiftTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ final class topsort_swiftTests: XCTestCase {
XCTAssertEqual(fpv.wrappedValue, nil)
XCTAssertFalse(FileManager.default.fileExists(atPath: path))
}

func testFilePersistedValueThreadSafety() async {
let queue = DispatchQueue(label: "com.topsort.EventOverwhelmer", qos: .background)
let path = PathHelper.path(for: "test.plist")
Expand All @@ -78,7 +78,7 @@ final class topsort_swiftTests: XCTestCase {
occurredAt: Date.now
)
while true {
if Int.random(in: 0...2) == 0 {
if Int.random(in: 0 ... 2) == 0 {
fpv.wrappedValue = []
} else {
fpv.wrappedValue?.append(.click(event))
Expand Down

0 comments on commit e383405

Please sign in to comment.