зеркало из https://github.com/mozilla/brackets.git
Fix the HTMLUtils unit test failure by correcting the offset.
This commit is contained in:
Родитель
fbe7cf652d
Коммит
bfadab9b6c
|
@ -163,7 +163,7 @@ define(function (require, exports, module) {
|
|||
[ '</body>', '</html>']);
|
||||
|
||||
var tag = HTMLUtils.getTagInfo(myEditor, pos);
|
||||
expect(tag).toEqual(HTMLUtils.createTagInfo(HTMLUtils.ATTR_VALUE, 0, "p", "class", "foo", true, '"', true));
|
||||
expect(tag).toEqual(HTMLUtils.createTagInfo(HTMLUtils.ATTR_VALUE, -1, "p", "class", "foo", true, '"', true));
|
||||
});
|
||||
|
||||
it("should find the tagname as it's typed", function () {
|
||||
|
|
Загрузка…
Ссылка в новой задаче