From 793218b6bcf66b9a42d47d393d086b0150a0f577 Mon Sep 17 00:00:00 2001 From: Kirill Grachev Date: Sat, 6 May 2023 21:26:34 +0300 Subject: [PATCH] SNRK-68: Update examples --- .../test/kotlin/space/kscience/snark/storage/local/Example.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snark-storage-driver/src/test/kotlin/space/kscience/snark/storage/local/Example.kt b/snark-storage-driver/src/test/kotlin/space/kscience/snark/storage/local/Example.kt index 324120f..e474fee 100644 --- a/snark-storage-driver/src/test/kotlin/space/kscience/snark/storage/local/Example.kt +++ b/snark-storage-driver/src/test/kotlin/space/kscience/snark/storage/local/Example.kt @@ -30,8 +30,8 @@ class Example { @Test fun exampleTest() = runBlocking { - somedir!!.put(Path("somefile")).write("hello".toByteArray()) - assertEquals("hello", somedir!!.get(Path("somefile")).readAll().decodeToString()) + somedir!!.put("somefile").write("hello".toByteArray()) + assertEquals("hello", somedir!!.get("somefile").readAll().decodeToString()) } @Test