diff --git a/repos/cache/src/commonTest/kotlin/full/FullCRUDCacheRepoTests.kt b/repos/cache/src/commonTest/kotlin/full/FullCRUDCacheRepoTests.kt index b76b6f77481..358294c81eb 100644 --- a/repos/cache/src/commonTest/kotlin/full/FullCRUDCacheRepoTests.kt +++ b/repos/cache/src/commonTest/kotlin/full/FullCRUDCacheRepoTests.kt @@ -23,10 +23,10 @@ class FullCRUDCacheRepoTests { @Test fun creatingWorksProperly() = runTest { val testData = (0 until 1000).map { - (it.toString() + uuid4().toString()) + ("$it-" + uuid4().toString()) } val updatedTestData = (0 until 1000).map { - (it.toString() + uuid4().toString()) + ("$it-" + uuid4().toString()) } val kvCache = MapKeyValueRepo() val crudRepo = MapCRUDRepo( diff --git a/repos/cache/src/commonTest/kotlin/full/FullKeyValueCacheRepoTests.kt b/repos/cache/src/commonTest/kotlin/full/FullKeyValueCacheRepoTests.kt index 8a541608811..0080570b439 100644 --- a/repos/cache/src/commonTest/kotlin/full/FullKeyValueCacheRepoTests.kt +++ b/repos/cache/src/commonTest/kotlin/full/FullKeyValueCacheRepoTests.kt @@ -13,10 +13,10 @@ class FullKeyValueCacheRepoTests { @Test fun creatingWorksProperly() = runTest { val testData = (0 until 1000).associate { - (it.toString() + uuid4().toString()) to uuid4().toString() + ("$it-" + uuid4().toString()) to "$it-" + uuid4().toString() } val updatedTestData = testData.keys.associateWith { - uuid4().toString() + "$it-" + uuid4().toString() } val kvCache = MapKeyValueRepo() val kvRepo = MapKeyValueRepo() diff --git a/repos/cache/src/commonTest/kotlin/full/FullKeyValuesCacheRepoTests.kt b/repos/cache/src/commonTest/kotlin/full/FullKeyValuesCacheRepoTests.kt index ce37c92233d..4a83b6874e0 100644 --- a/repos/cache/src/commonTest/kotlin/full/FullKeyValuesCacheRepoTests.kt +++ b/repos/cache/src/commonTest/kotlin/full/FullKeyValuesCacheRepoTests.kt @@ -12,17 +12,17 @@ class FullKeyValuesCacheRepoTests { @Test fun creatingWorksProperly() = runTest(timeout = 1.days) { val testData = (0 until 1000).associate { - (it.toString() + uuid4().toString()) to (0 until 1000).map { - uuid4().toString() + ("$it-" + uuid4().toString()) to (0 until 1000).map { + "$it-" + uuid4().toString() }.sorted() } val updatedTestData = testData.keys.associateWith { (0 until 1000).map { - uuid4().toString() + "$it-" + uuid4().toString() }.sorted() } val addedData = testData.keys.associateWith { - uuid4().toString() + "$it-" + uuid4().toString() } val kvCache = MapKeyValueRepo>() val kvRepo = MapKeyValuesRepo()