SNRK-68: Update examples

This commit is contained in:
Kirill Grachev 2023-05-06 21:26:34 +03:00
parent c6ceba2ed5
commit 793218b6bc

View File

@ -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