Skip to content

Commit

Permalink
Bug is invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
askonev committed Dec 8, 2023
1 parent bc6a302 commit bebcf16
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ builder.CreateFile("docx");
let oDocument = Api.GetDocument();
let oParagraph = oDocument.GetElement(0);
oParagraph.AddText("Paragraph with bookmark");
let oRange = oDocument.GetRange(0, 8);
let oRange = oDocument.GetRange(0, 9);
oRange.AddBookmark("Bookmark");

let oParagraph1 = Api.CreateParagraph();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@

it 'Cross-reference to bookmarks' do
docx = builder.build_and_parse('js/docx/paragraph/cross_reference/add_bookmark_cross_ref.js')
skip('Bug 65298')
expect(docx.elements[1].nonempty_runs[1].text).to eq('Paragraph')
expect(docx.elements[1].runs[2].instruction_text.value).to eq(' REF Bookmark \\h')
# TODO: bug 'https://bugzilla.onlyoffice.com/show_bug.cgi?id=58898'
Expand Down

0 comments on commit bebcf16

Please sign in to comment.