PadMessageHandler: Accept retransmissions of USER_CHANGES

This commit is contained in:
Richard Hansen 2021-12-12 18:19:36 -05:00
parent a370cfa5c6
commit cff089e54e
3 changed files with 10 additions and 13 deletions

View file

@ -75,12 +75,12 @@ describe(__filename, function () {
await assertRejected();
});
it('retransmission is rejected', async function () {
it('retransmission is accepted, has no effect', async function () {
sendUserChanges('Z:1>5+5$hello');
await assertAccepted(rev + 1);
--rev;
sendUserChanges('Z:1>5+5$hello');
await assertRejected();
await assertAccepted(rev + 1);
assert.equal(pad.text(), 'hello\n');
});