Fix some warnings (#3279)

We have a few warnings, mostly in the test suite, that have cropped up
with deprecations and Xcode 16 strict concurrency, so let's address
them.
This commit is contained in:
Stephen Celis
2024-08-12 08:24:30 -07:00
committed by GitHub
parent 85415973b2
commit e1f07facd9
12 changed files with 107 additions and 78 deletions

View File

@@ -218,12 +218,14 @@ public struct Shared<Value> {
}
try updateValueToExpectedResult(&snapshot)
self.snapshot = snapshot
// TODO: Finesse error more than `XCTAssertNoDifference`
XCTAssertNoDifference(
// TODO: Finesse error more than `expectNoDifference`
expectNoDifference(
self.currentValue,
self.snapshot,
file: filePath,
line: line
fileID: fileID,
filePath: filePath,
line: line,
column: column
)
self.snapshot = nil
}