mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-10 16:33:27 +00:00
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:
+1
-1
@@ -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>> {
|
||||
|
||||
+1
-1
@@ -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>> {
|
||||
|
||||
Reference in New Issue
Block a user