Skip to content

Commit d012aa6

Browse files
lint
1 parent d73a3c1 commit d012aa6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Tests/AblyLiveObjectsTests/InternalDefaultLiveCounterTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ struct InternalDefaultLiveCounterTests {
549549
// Verify the operation was applied
550550
#expect(try counter.value(coreSDK: coreSDK) == 10)
551551
// Verify RTLC7c: siteTimeserials should NOT have been updated for LOCAL source
552-
#expect(counter.testsOnly_siteTimeserials == [:])
552+
#expect(counter.testsOnly_siteTimeserials.isEmpty)
553553
}
554554

555555
// @spec RTLC7d3

Tests/AblyLiveObjectsTests/InternalDefaultLiveMapTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1434,7 +1434,7 @@ struct InternalDefaultLiveMapTests {
14341434
// Verify the operation was applied
14351435
#expect(try map.get(key: "key1", coreSDK: coreSDK, delegate: delegate)?.stringValue == "new")
14361436
// Verify RTLM15c: siteTimeserials should NOT have been updated for LOCAL source
1437-
#expect(map.testsOnly_siteTimeserials == [:])
1437+
#expect(map.testsOnly_siteTimeserials.isEmpty)
14381438
}
14391439

14401440
// @spec RTLM15d4

Tests/AblyLiveObjectsTests/InternalDefaultRealtimeObjectsTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1285,7 +1285,7 @@ struct InternalDefaultRealtimeObjectsTests {
12851285
let finalPool = realtimeObjects.testsOnly_objectsPool
12861286
let map = try #require(finalPool.entries["map:1@123"]?.mapValue)
12871287
let counter = try #require(finalPool.entries["counter:1@456"]?.counterValue)
1288-
1288+
12891289
// Note: the siteTimeserials check here is a side-effect of RTLM15c and RTLC7c that shows us that the CHANNEL source is being used per RTO5c6
12901290

12911291
// Verify the buffered operations were applied after sync completion (RTO5c6)
@@ -1369,7 +1369,7 @@ struct InternalDefaultRealtimeObjectsTests {
13691369
#expect(returnedMap.testsOnly_data == ["stringKey": InternalObjectsMapEntry(data: ObjectData(string: "stringValue"))])
13701370
#expect(realtimeObjects.testsOnly_objectsPool.entries[objectID]?.mapValue === returnedMap)
13711371
}
1372-
1372+
13731373
// @specUntested RTO11h3d - This spec point covers a logic error so let's not try to test
13741374

13751375
// @spec RTO11f4b
@@ -1515,7 +1515,7 @@ struct InternalDefaultRealtimeObjectsTests {
15151515
#expect(try returnedCounter.value(coreSDK: coreSDK) == 10.5)
15161516
#expect(realtimeObjects.testsOnly_objectsPool.entries[objectID]?.counterValue === returnedCounter)
15171517
}
1518-
1518+
15191519
// @specUntested RTO12h3d - This spec point covers a logic error so let's not try to test
15201520

15211521
// @spec RTO12f2a

0 commit comments

Comments
 (0)