Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 62b5b08

Browse files
committed
Merge pull request #9453 from MarcelGerber/quickopen-test-fail
Fix failing QuickOpen tests on Linux
2 parents 77e0327 + c6bc926 commit 62b5b08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/spec/QuickOpen-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ define(function (require, exports, module) {
178178
var editorHeight = $scroller.height();
179179
var cursorPos = editor._codeMirror.cursorCoords(null, "page").bottom;
180180

181-
expect(cursorPos).toBeGreaterThan(editorHeight * 0.4 - offset);
182-
expect(cursorPos).toBeLessThan(editorHeight * 0.6 - offset);
181+
expect(cursorPos).toBeGreaterThan(editorHeight * 0.4 + offset);
182+
expect(cursorPos).toBeLessThan(editorHeight * 0.6 + offset);
183183
});
184184
};
185185
}

0 commit comments

Comments
 (0)