refactor: more test code refactor

This commit is contained in:
0x330a 2023-05-23 17:55:41 +10:00
parent 69a2169733
commit bd81869f9a
No known key found for this signature in database
GPG Key ID: 267811D6E6A2698C

View File

@ -57,8 +57,8 @@ class InstrumentedTests {
contacts.set(contact.copy(name = "test")) contacts.set(contact.copy(name = "test"))
assertTrue(contacts.dirty()) assertTrue(contacts.dirty())
val push = contacts.push() val push = contacts.push()
contacts.dump()
contacts.confirmPushed(push.seqNo, "abc123") contacts.confirmPushed(push.seqNo, "abc123")
contacts.dump()
contacts.set(contact.copy(name = "test2")) contacts.set(contact.copy(name = "test2"))
contacts.set(contact.copy(name = "test")) contacts.set(contact.copy(name = "test"))
assertFalse(contacts.dirty()) assertFalse(contacts.dirty())