fixed 10 tests
This commit is contained in:
@@ -76,7 +76,7 @@ export class ItemString extends AbstractItem {
|
||||
* @return {boolean}
|
||||
*/
|
||||
mergeWith (right) {
|
||||
if (compareIDs(right.origin, this.lastId) && this.right === right) {
|
||||
if (compareIDs(right.origin, this.lastId) && this.right === right && compareIDs(this.rightOrigin, right.rightOrigin)) {
|
||||
this.string += right.string
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user