Fix backend tests with new setText() implementation; tests depended

on the old setText() behavior leaving the last character.
This commit is contained in:
Xavid 2015-05-06 08:45:22 -04:00
parent 5e64c292a4
commit 9e86fb279b
2 changed files with 5 additions and 5 deletions

View file

@ -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);
}