mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
Ignore empty lines when finding a fragment for partial updates.
Change hintsPrsentExact to verify number of entries match.
This commit is contained in:
1 parent
5435d4092e
commit
c784efb4c7
2 files changed
+15
-6
No files matched your search
@@ -241,6 +241,7 @@ define(function (require, exports, module) {
|
||||
function hintsPresentExact(hintObj, expectedHints) {
|
||||
_waitForHints(hintObj, function (hintList) {
|
||||
expect(hintList).not.toBeNull();
|
||||
expect(hintList.length).toBe(expectedHints.length);
|
||||
expectedHints.forEach(function (expectedHint, index) {
|
||||
expect(hintList[index].data("token").value).toBe(expectedHint);
|
||||
});
|
||||
@@ -1224,6 +1225,7 @@ define(function (require, exports, module) {
|
||||
describe("JavaScript Code Hinting without modules", function () {
|
||||
var testPath = extensionPath + "/unittest-files/non-module-test-files/app.js";
|
||||
ScopeManager.handleProjectOpen(extensionPath + "/unittest-files/non-module-test-files/");
|
||||
|
||||
beforeEach(function () {
|
||||
setupTest(testPath, true);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user