From b3f5a5e9080607672b813c8aaef592b403aba3d8 Mon Sep 17 00:00:00 2001 From: ketsuban Date: Tue, 25 Aug 2026 15:06:28 +0000 Subject: Wrap suspend block store test in runTest --- src/commonTest/kotlin/kukuri/ContentStoreTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1