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