mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 00:46:16 -04:00
PadMessageHandler: Accept retransmissions of USER_CHANGES
This commit is contained in:
parent
a370cfa5c6
commit
cff089e54e
3 changed files with 10 additions and 13 deletions
|
@ -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');
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue