fixed name shadowing

This commit is contained in:
Robinson 2021-01-03 20:23:01 +01:00
parent 1f185dd7af
commit 563f2e062b
1 changed files with 2 additions and 2 deletions

View File

@ -34,8 +34,8 @@ class LogOutputStreamTest {
}
}
logOutputStream.use { logOutputStream ->
logOutputStream.write(multiLineString.toByteArray(charset("UTF-8")))
logOutputStream.use { stream ->
stream.write(multiLineString.toByteArray(charset("UTF-8")))
}
Assert.assertEquals(listOf(*expectedLines), processedLines)