summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorketsuban <ketsuban@192.168.3.110>2026-08-25 15:06:28 +0000
committerketsuban <ketsuban@192.168.3.110>2026-08-25 15:06:28 +0000
commitb3f5a5e9080607672b813c8aaef592b403aba3d8 (patch)
tree0947b81e134c4fe402da0fe574bfde068a8af909
parent1ccc5b7f813090632acb6df8220628682825cce7 (diff)
downloadkukuri-b3f5a5e9080607672b813c8aaef592b403aba3d8.tar.gz
kukuri-b3f5a5e9080607672b813c8aaef592b403aba3d8.tar.bz2
kukuri-b3f5a5e9080607672b813c8aaef592b403aba3d8.zip
Wrap suspend block store test in runTest
-rw-r--r--src/commonTest/kotlin/kukuri/ContentStoreTest.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonTest/kotlin/kukuri/ContentStoreTest.kt b/src/commonTest/kotlin/kukuri/ContentStoreTest.kt
index 71704ab..d3e1fd3 100644
--- a/src/commonTest/kotlin/kukuri/ContentStoreTest.kt
+++ b/src/commonTest/kotlin/kukuri/ContentStoreTest.kt
@@ -15,7 +15,7 @@ class ContentStoreTest {
}
@Test
- fun blockStoreDeduplicatesByContent() {
+ fun blockStoreDeduplicatesByContent() = kotlinx.coroutines.test.runTest {
val store = MemoryBlockStore()
val bytes = "same".encodeToByteArray()
val b1 = ContentBlock(ContentAddresser.cidOf(bytes), bytes)