ktlint format
Test Workflow / Lint and test library (pull_request) Successful in 8m43s
Details
Test Workflow / Lint and test library (pull_request) Successful in 8m43s
Details
This commit is contained in:
parent
04f704f916
commit
d743e47e19
|
@ -77,7 +77,9 @@ class BackupClientTest {
|
||||||
assertDoesNotThrow("should recover file '$path'") {
|
assertDoesNotThrow("should recover file '$path'") {
|
||||||
runBlocking {
|
runBlocking {
|
||||||
backupClient.restoreFile(
|
backupClient.restoreFile(
|
||||||
individualRestoreDir.resolve(path).parent, backupKey, path.toString()
|
individualRestoreDir.resolve(path).parent,
|
||||||
|
backupKey,
|
||||||
|
path.toString(),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -102,12 +104,14 @@ class BackupClientTest {
|
||||||
} else {
|
} else {
|
||||||
val originalBytes = path.toFile().readBytes().asList()
|
val originalBytes = path.toFile().readBytes().asList()
|
||||||
assertEquals(
|
assertEquals(
|
||||||
originalBytes, restorePath.toFile().readBytes().asList(),
|
originalBytes,
|
||||||
"File contents of '$path' should equal"
|
restorePath.toFile().readBytes().asList(),
|
||||||
|
"File contents of '$path' should equal",
|
||||||
)
|
)
|
||||||
assertEquals(
|
assertEquals(
|
||||||
originalBytes, individualRestorePath.toFile().readBytes().asList(),
|
originalBytes,
|
||||||
"File contents of '$path' should equal (individual)"
|
individualRestorePath.toFile().readBytes().asList(),
|
||||||
|
"File contents of '$path' should equal (individual)",
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
// cleanup
|
// cleanup
|
||||||
|
|
Reference in New Issue