SNRK-68: Update examples
This commit is contained in:
parent
c6ceba2ed5
commit
793218b6bc
@ -30,8 +30,8 @@ class Example {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
fun exampleTest() = runBlocking {
|
fun exampleTest() = runBlocking {
|
||||||
somedir!!.put(Path("somefile")).write("hello".toByteArray())
|
somedir!!.put("somefile").write("hello".toByteArray())
|
||||||
assertEquals("hello", somedir!!.get(Path("somefile")).readAll().decodeToString())
|
assertEquals("hello", somedir!!.get("somefile").readAll().decodeToString())
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
Reference in New Issue
Block a user