mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-14 18:26:11 -04:00
fix(tests): Match only power snapshot lines in the log filter
This commit is contained in:
@@ -57,7 +57,7 @@ class PowerStateLoggerTest : BaseTest() {
|
||||
Bugs.isDebug.value = false
|
||||
}
|
||||
|
||||
private fun powerLines() = logLines.filter { it.startsWith("Power state") }
|
||||
private fun powerLines() = logLines.filter { it.startsWith("Power state (") }
|
||||
|
||||
private fun broadcast(action: String) {
|
||||
context.sendBroadcast(Intent(action))
|
||||
|
||||
Reference in New Issue
Block a user