From aeb82831a78f008c3d730dcf1ce98357d851204d Mon Sep 17 00:00:00 2001 From: Bernhard Sirlinger Date: Fri, 3 May 2013 19:18:36 +0200 Subject: [PATCH] Added Test for Issue 3339 --- src/extensions/default/HTMLCodeHints/unittests.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/extensions/default/HTMLCodeHints/unittests.js b/src/extensions/default/HTMLCodeHints/unittests.js index f5311d943f4..1a19a081105 100644 --- a/src/extensions/default/HTMLCodeHints/unittests.js +++ b/src/extensions/default/HTMLCodeHints/unittests.js @@ -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("  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 () {