Merge pull request #3162 from vitorpamplona/claude/trusting-archimedes-hduulo

Replace String.format with toString(16).padStart in test helpers
This commit is contained in:
Vitor Pamplona
2026-06-09 16:56:30 -04:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
@@ -37,7 +37,7 @@ class RoomReactionsStateTest {
to: String?,
content: String,
createdAt: Long,
id: String = "%064x".format(nextEventId++),
id: String = (nextEventId++).toString(16).padStart(64, '0'),
): ReactionEvent {
val tags =
buildList<Array<String>> {
@@ -45,7 +45,7 @@ class RoomZapsStateTest {
from: String,
to: String?,
createdAt: Long,
id: String = "%064x".format(nextEventId++),
id: String = (nextEventId++).toString(16).padStart(64, '0'),
): LnZapEvent {
val tags =
buildList<Array<String>> {