Fix test for new DOM values

This commit is contained in:
Randy Edmunds committed 2014-06-18 16:22:58 -07:00
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"]);