mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-25 09:56:15 -04:00
Fix backend tests with new setText() implementation; tests depended
on the old setText() behavior leaving the last character.
This commit is contained in:
parent
5e64c292a4
commit
9e86fb279b
2 changed files with 5 additions and 5 deletions
|
@ -89,7 +89,7 @@ function setPadHTML(pad, html, callback)
|
|||
// the changeset is ready!
|
||||
var theChangeset = builder.toString();
|
||||
apiLogger.debug('The changeset: ' + theChangeset);
|
||||
pad.setText("");
|
||||
pad.setText("\n");
|
||||
pad.appendRevision(theChangeset);
|
||||
callback(null);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue