mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
Fix test for new DOM values
This commit is contained in:
1 parent
7da2d62a83
commit
9552ae8af7
1 file changed
+4
-3
@@ -841,10 +841,11 @@ define(function (require, exports, module) {
|
||||
});
|
||||
|
||||
it("should list matching property names", function () {
|
||||
var start = { line: 12, ch: 10 };
|
||||
var cursor1 = { line: 12, ch: 0 },
|
||||
cursor2 = { line: 12, ch: 6 };
|
||||
|
||||
testDoc.replaceRange("param", start, start);
|
||||
testEditor.setCursorPos(start);
|
||||
testDoc.replaceRange("paramB", cursor1, cursor1);
|
||||
testEditor.setCursorPos(cursor2);
|
||||
var hintObj = expectHints(JSCodeHints.jsHintProvider);
|
||||
runs(function () {
|
||||
hintsPresentExact(hintObj, ["paramB1", "paramB2"]);
|
||||
|
||||
Reference in new issue
Block a user