Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b8e3de7

Browse files
committed
The bottom block decoration is being created at the end of the line
1 parent ee9c005 commit b8e3de7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/controllers/conflict-controller.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ describe('ConflictController', function() {
8080
assert.deepEqual(theirBannerDecorations.map(textFromDecoration), ['>>>>>>> other-branch\n']);
8181

8282
const theirBlockDecorations = decorationsMatching({type: 'block', position: 'after'});
83-
assert.deepEqual(theirBlockDecorations.map(pointFromDecoration), [[17, 0]]);
83+
assert.deepEqual(theirBlockDecorations.map(pointFromDecoration), [[17, 20]]);
8484
});
8585

8686
it('creates a line Decoration for resolved conflicts', async function() {

0 commit comments

Comments
 (0)