This commit is contained in:
webzwo0i 2020-08-04 19:04:01 +02:00
parent 2af8948f68
commit 4515aa294d
5 changed files with 2 additions and 7 deletions

View file

@ -4,7 +4,6 @@ var helper = require("./helper.js")
var assertEqualStrings = helper.assertEqualStrings;
var random = helper.random;
var randomMultiline = helper.randomMultiline;
var randomInlineString = helper.randomInlineString;
var randomTestChangeset = helper.randomTestChangeset;
describe("Changeset.compose",function(){

View file

@ -5,7 +5,6 @@ var assertEqualStrings = helper.assertEqualStrings;
var assertEqualArrays = helper.assertEqualArrays;
var random = helper.random;
var randomMultiline = helper.randomMultiline;
var randomInlineString = helper.randomInlineString;
var randomTestChangeset = helper.randomTestChangeset;
describe("follow",function(){

View file

@ -247,12 +247,12 @@ exports.randomTestChangeset = function (origText, rand, withAttribs) {
outTextAssem.append(txt);
appendMultilineOp('+', txt);
} else if (o.skip) {
var txt = textLeft.substring(0, o.skip);
txt = textLeft.substring(0, o.skip);
textLeft = textLeft.substring(o.skip);
outTextAssem.append(txt);
appendMultilineOp('=', txt);
} else if (o.remove) {
var txt = textLeft.substring(0, o.remove);
txt = textLeft.substring(0, o.remove);
textLeft = textLeft.substring(o.remove);
appendMultilineOp('-', txt);
}

View file

@ -1,11 +1,9 @@
var Changeset = require("ep_etherpad-lite/static/js/Changeset");
var AttributePool = require("ep_etherpad-lite/static/js/AttributePool");
var helper = require("./helper.js")
var assertEqualArrays = helper.assertEqualArrays;
var random = helper.random;
var poolOrArray = helper.poolOrArray;
var randomMultiline = helper.randomMultiline;
var randomInlineString = helper.randomInlineString;
var randomTestChangeset = helper.randomTestChangeset;
describe("inverseRandom",function(){

View file

@ -4,7 +4,6 @@ var assertEqualStrings = helper.assertEqualStrings;
var assertEqualArrays = helper.assertEqualArrays;
var random = helper.random;
var randomMultiline = helper.randomMultiline;
var randomInlineString = helper.randomInlineString;
describe("testSplitJoinAttributionLines",function(){
it("testSplitJoinAttributionLines",function(done){