Skip to content

Commit

Permalink
69253 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonowl committed Oct 1, 2024
1 parent 33c73c3 commit f85592d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/docx/smoke/api_range_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
expect(docx.elements[1].nonempty_runs[1].font_color.to_s).to eq('RGB (255, 0, 0)')
end

it 'Check method with parameters 0, 15' do
it 'Check method with parameters 0, 17' do
docx = builder.build_and_parse('js/docx/smoke/api_range/get_range_with_params.js', start_pos: 0, end_pos: 17)
expect(docx.elements.size).to eq(1)
expect(docx.elements[0].nonempty_runs.size).to eq(2)
Expand All @@ -57,7 +57,7 @@
expect(docx.elements[0].nonempty_runs[1].font_style).to eq(OoxmlParser::FontStyle.new)
end

it 'Check method with parameters 6, 10' do
it 'Check method with parameters 10, 24' do
docx = builder.build_and_parse('js/docx/smoke/api_range/get_range_with_params.js', start_pos: 10, end_pos: 24)
expect(docx.elements.size).to eq(1)
expect(docx.elements[0].nonempty_runs.size).to eq(3)
Expand Down

0 comments on commit f85592d

Please sign in to comment.