Skip to content

Commit 1699472

Browse files
committed
Adjust test to work in Phantom.js
1 parent d9d9eb7 commit 1699472

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@ testCM("collapsedLines", function(cm) {
545545

546546
testCM("collapsedRangeCoordsChar", function(cm) {
547547
var pos_1_3 = cm.charCoords({line: 1, ch: 3});
548+
pos_1_3.left += 2; pos_1_3.top += 2;
548549
var opts = {collapsed: true, inclusiveLeft: true, inclusiveRight: true};
549550
var m1 = cm.markText({line: 0, ch: 0}, {line: 2, ch: 0}, opts);
550551
eqPos(cm.coordsChar(pos_1_3), {line: 3, ch: 3});

0 commit comments

Comments
 (0)