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

Commit

Permalink
Merge pull request #1835 from adobe/randy/fix-codehint-unit-test
Browse files Browse the repository at this point in the history
fix code hints unit tests
  • Loading branch information
njx committed Oct 15, 2012
2 parents 2facc30 + f63c0fc commit 74c3371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/default/HTMLCodeHints/unittests.js
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ define(function (require, exports, module) {
function selectHint(provider, expectedHint) {
var hintList = expectHints(provider);
expect(hintList.indexOf(expectedHint)).not.toBe(-1);
provider.handleSelect(expectedHint, testEditor, testEditor.getCursorPos());
provider.handleSelect(expectedHint, testEditor, testEditor.getCursorPos(), true);
}

// Helper function for testing cursor position
Expand Down

0 comments on commit 74c3371

Please sign in to comment.