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 #3710 from WebsiteDeveloper/TestForIssue-3339
Browse files Browse the repository at this point in the history
Added Test for Issue 3339
  • Loading branch information
redmunds committed May 3, 2013
2 parents c3b8fd3 + aeb8283 commit 20c7491
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/extensions/default/HTMLCodeHints/unittests.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,14 @@ define(function (require, exports, module) {
hintList = expectHints(HTMLCodeHints.tagHintProvider);
verifyTagHints(hintList);
});

//Test for issue #3339
it("should show HTML hints after HTML Entity on same line", function () {
testDocument.replaceRange("&nbsp; Test < ", { line: 8, ch: 0 });
testEditor.setCursorPos({ line: 8, ch: 13 }); // cursor between < and some trailing whitespaces
var hintList = expectHints(HTMLCodeHints.tagHintProvider);
verifyTagHints(hintList);
});
});

describe("Attribute name hint provider", function () {
Expand Down

0 comments on commit 20c7491

Please sign in to comment.