|
|
@ -186,11 +186,8 @@ class ComposeResourceTest { |
|
|
|
val bytes = readResourceBytes("strings.xml") |
|
|
|
val bytes = readResourceBytes("strings.xml") |
|
|
|
val source = mutableListOf<Byte>() |
|
|
|
val source = mutableListOf<Byte>() |
|
|
|
getResourceAsFlow("strings.xml").collect { chunk -> |
|
|
|
getResourceAsFlow("strings.xml").collect { chunk -> |
|
|
|
println("p") |
|
|
|
|
|
|
|
source.addAll(chunk.asList()) |
|
|
|
source.addAll(chunk.asList()) |
|
|
|
println("q") |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
println("r") |
|
|
|
|
|
|
|
assertContentEquals(bytes, source.toByteArray()) |
|
|
|
assertContentEquals(bytes, source.toByteArray()) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|